#!/bin/bash docker exec -i test bash <<'EOF' echo "helloword" exit EOF
使用命令,进入容器的命令操作:
docker run -it --name container_name imagename bash