如题,docker容器内调用宿主机的系统命令?
人生最曼妙的风景,竟是内心的淡定与从容!
Do you have to do this? If you want to do this, you probably need to connect via ssh. Install an sshd service on the host and an ssh client on the container. SSH connection should be possible.
This is a very unrealized feature and a security event prohibited by Docker.
Do you have to do this? If you want to do this, you probably need to connect via ssh.
Install an sshd service on the host and an ssh client on the container. SSH connection should be possible.
This is a very unrealized feature and a security event prohibited by Docker.