我正在尝试使用以下命令运行 docker 命令,但它不会将我带到交互模式。
docker container run -d -it --privileged centos
After starting your container, you can use
docker exec -it your_container_name /bin/bash
command to connect container's terminal. (assuming container's image includes /bin/bash).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.