slimtoolkit/slim

How to execute docker run instructions?

开放

#24 创建于 2016年6月24日

 (2 条评论) (1 个反应) (0 位负责人)Go (673 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (17,694 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南