How to use docker without xpack features (aka how to make the license expiration message go away)

Hi!
I'm using the docker image of 6.1.1 (docker.elastic.co/elasticsearch/elasticsearch:6.1.1).