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"