Created
December 2, 2015 18:32
-
-
Save richm/e55e15b3d4dd46bae637 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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