Skip to content

Instantly share code, notes, and snippets.

@richm
Created December 2, 2015 18:32
Show Gist options
  • Save richm/e55e15b3d4dd46bae637 to your computer and use it in GitHub Desktop.
Save richm/e55e15b3d4dd46bae637 to your computer and use it in GitHub Desktop.
When it works, this is the docker command:
docker run -it --rm --privileged -v /home/rmeggins/bitscout/efk-atomicapp/run:/atomicapp -v /run:/run -v /:/host \
--net=host --name efk-atomicapp -e NAME=efk-atomicapp -e IMAGE=bitscout/efk-atomicapp \
bitscout/efk-atomicapp -v run /atomicapp
This is the RUN label added by the commit:
RUN="docker run --rm \${OPT1} --privileged -v `pwd`:/atomicapp -v /run:/run -v /:/host --net=host --name \${NAME} -e NAME=\${NAME} -e IMAGE=\${IMAGE} \${IMAGE} -v \${OPT2} run \${OPT3} \${IMAGE}"
When it fails using the above, this is the docker command:
docker run --rm --privileged -v /home/rmeggins/bitscout/efk-atomicapp/run:/atomicapp -v /run:/run -v /:/host \
--net=host --name efk-atomicapp -e NAME=efk-atomicapp -e IMAGE=bitscout/efk-atomicapp \
bitscout/efk-atomicapp -v run bitscout/efk-atomicapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment