commands should work

This commit is contained in:
Michael Bradley, Jr 2018-08-01 21:43:21 -05:00
parent aa3e915549
commit b6a2abdb0a
1 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ container, `su-exec` and `bash -[i]c` can be used together:
docker exec -it $container_id su-exec embark \ docker exec -it $container_id su-exec embark \
bash -ic 'exec bash << "SCRIPT" bash -ic 'exec bash << "SCRIPT"
simple_nodeenv 10.7.0 my_node simple_nodeenv 10.7.0 my_node || nac my_node
npm i -g http-server npm i -g http-server
exec http-server -p 8000 exec http-server -p 8000
@ -283,7 +283,7 @@ docker exec -it $container_id su-exec embark \
bash -c 'exec bash << "SCRIPT" bash -c 'exec bash << "SCRIPT"
. ~/.bash_env . ~/.bash_env
simple_nodeenv 10.7.0 my_node simple_nodeenv 10.7.0 my_node || nac my_node
npm i -g http-server npm i -g http-server
exec http-server -p 8000 exec http-server -p 8000