docker 日常使用
docker执行容器内的命令
docker exec -it <container_id> ls
docker exec -it <container_id> bash -c "ls"
docker exec -it <container_id> bash -c "command1; command2"
docker执行容器内的命令
docker exec -it <container_id> ls
docker exec -it <container_id> bash -c "ls"
docker exec -it <container_id> bash -c "command1; command2"