Centos, is installed in docker. How to use xshell to connect to this centos??

windows installed docker,docker installed centos, how to use xshell to connect to this centos?

 docker pull centos  //https://hub.docker.com/_/centos/
 docker images  //
REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
centos                     latest              75835a67d134        6 days ago          200MB
docker4w/nsenter-dockerd   latest              cae870735e91        11 months ago       187kB

 docker run --name GoWeb --privileged=true -itdv d:/workspace/go_work/:/var/www/ 75835a67d134 /bin/bash  //
0e2801cbb8bf694719ebd2169ecb7a4bd0ef7ad0aae35f1ad8ec4c627d073841

 docker attach GoWeb  //
[root@0e2801cbb8bf /]-sharp

question:
how do I log in to this centos container with xshell?

Aug.24,2021

can't I connect without xshell? Just go directly into the container and operate! If you need to upload modified files, just use volume to link to local files.

Menu