cmc-sales/archive/scripts/enter_docker.sh

3 lines
72 B
Bash

ID=$(docker ps -f ancestor=cmc:latest -q)
docker exec -it $ID /bin/bash