slimtoolkit/slim

How to execute docker run instructions?

Open

#24 ouverte le 24 juin 2016

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)Go (673 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (17 694 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Say I run my docker image named sample-image using this command:

docker run -dti --name=sample-image -u=0 --pid=host --net=host --uts=host --privileged=true -p 9279:9279 -v /tmp:/tmp:rw --entrypoint=/entrypoint.sh -e LISTEN_PORT=80 -e PROTOCOL=http -e BACKEND_IP=127.0.0.1 -e BACKEND_PORT=9100 sample-image -a 40.23.123.75

Now I am not able to understand how to exactly run my docker image with docker-slim with all these arguments, so please explain how to do that!

Thanks

Guide contributeur