Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos7/BCOS-Docker使用问题 #118

Open
kuangfengxing1hao opened this issue May 31, 2020 · 0 comments
Open

centos7/BCOS-Docker使用问题 #118

kuangfengxing1hao opened this issue May 31, 2020 · 0 comments

Comments

@kuangfengxing1hao
Copy link

我想要查看工作状态
执行"# 连接到容器"这一步,
输入命令:
$ docker exec -it $(docker ps -a | grep bcos-node-0 | awk 'NR==1{print $1}') sh
结果是这样:
"docker exec" requires at least 2 arguments.
See 'docker exec --help'.
Usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
Run a command in a running container
请问是命令出错了吗,请大神帮解决一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant