Skip to content
Snippets Groups Projects
Commit d43faf3b authored by jurgenhaas's avatar jurgenhaas
Browse files

#8 let node find stopped docker containers as well

parent fe0df9ce
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
NAME=${COMPOSE_PROJECT_NAME}_l3d_node
ID=$(docker container ls -q -f name=${NAME})
ID=$(docker container ls --all -q -f name=${NAME})
if [[ -n ${ID} ]]; then
docker start ${NAME} >/dev/null
docker exec -it -w ${PWD} ${NAME} node $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment