slimtoolkit/slim

How to execute docker run instructions?

Open

#24 aperta il 24 giu 2016

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)Go (673 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (17.694 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor