Deploying Redmine docker container to App Services Deploying Redmine docker container to App Services docker docker

Deploying Redmine docker container to App Services


The correct format of docker run is below:-

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

According to which you should pass Image Name in the end and all other options like -p, -e, -d, etc. should be pass before Image Name.

Below is the correct command:

docker run -d -p 6390:3000 --name redminetest_0_3d4d8283 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=redminetest -e WEBSITE_AUTH_ENABLED=False -e PORT=3000 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=redminetest.azurewebsites.net -e WEBSITE_INSTANCE_ID=c0f955200062b837a8b06271f039c1d9a6aa1309ada101b0e47bf9c23c0ba3a3 -e REDMINE_DB_MYSQL=51.140.184.11 -e REDMINE_DB_PORT=3306 -e REDMINE_DB_USERNAME=special@mysqlredmine -e REDMINE_DB_PASSWORD=Sp3c1al! redmine:latest