docker-compose run and exec: No container found

后端 未结 3 872
不知归路
不知归路 2021-01-17 12:44

I was trying to open a second terminal un a docker with docker-compose.

First run the container with

docker-compose run my-centos bash
3条回答
  •  说谎
    说谎 (楼主)
    2021-01-17 13:15

    you need to do "docker-compose up -d" then try ur commands

提交回复
热议问题