Under the centos7.1
Startup command: docker run - v/root/data/mysql//root/data/- h="centos - SSH" - the name centos - SSH - d - 50001: p. 22 centos6 - SSH:/usr/sbin/SSHD - 1.00 d
SSH connection container
[root @ centos - SSH data] # ls/root/data/
Ls: always open a directory/root/data/: Permission denied
CodePudding user response:
Have permission to access without outsideCodePudding user response:
The ls/root/data/mysql/: