Docker is an innovative technology to easily package, deploy and run your applications. It is the world’s leading software containerization platform. Moreover a wide variety of containers already exists and are freely available on Docker Hub. And most of them are already Qarnot ready!
Two profiles are currently available to run a Docker container:
docker-batch: use this profile to run batch process that don't need internet connection
docker-network: use this profile to run daemons or workers that require an internet access.
||The command to run in the container||/bin/true|
||Docker image to use||library/ubuntu|
||The user the command will be run as||root|
||The hostname inside the container|
||Your login on the Docker Hub, if you want to use your private Docker images|
||Your password on the Docker Hub, if you want to use your private Docker images|
CMDdirectives from youer Dockerfiles are honored. What you set in
DOCKER_CMDis passed as argument to the entrypoint if it's not empty, and you can leave
DOCKER_CMDempty to use the
CMDfrom your Dockerfile. You can think of it as if we were running
docker run -it $DOCKER_REPO:$DOCKER_TAG $DOCKER_CMDin a shell.