slimtoolkit/slim

How to execute docker run instructions?

Open

#24 opened on Jun 24, 2016

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Go (673 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (17,694 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide