Windows has docker installed, and centos is installed in docker. How can I connect centos with xshell?
λ docker pull centos // Download Mirror https://hub.docker.com/_/centos/
Λ dockerimages//view images
REPOSITORY TAG IMAGE ID CREATED SIZE
centos latest 75835a67d134 6 days ago 200MB
docker4w/nsenter-dockerd latest cae870735e91 11 months ago 187kB
λ dockerrun-namegoveb-privileged = true-itdvd:/workspace/go _ work/:/var/www/75835a67d134/bin/bash//run container
0e2801cbb8bf694719ebd2169ecb7a4bd0ef7ad0aae35f1ad8ec4c627d073841
λ doc attachgo web//login container
[root@0e2801cbb8bf /]#
Question:
How do I log in to this centos container with xshell?
Can’t you connect without xshell? Directly into the container operation is good! If you need to upload the modified file, it would be nice to directly link the local file with volume.