How to call services with options to set flags

Ivo Bathke June 13, 2017

Is it possible to call the services image with options to set flags for the mysql container?

The official mysql image has this example:

docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci

The options are:

--character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci

In my case i would like to set the timezone in the container:

-- default-time-zone='+02:00'  

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events