Docker Community Forums

Share and learn in the Docker community.

How can I SSH into the Beta's MobyLinuxVM

docker
beta

(Michael Friis) #21

You can already mount the Docker socket, and instead of trying to use a binary from the Moby host, you can run a container that has the Docker CLI binary in it, like this one: https://hub.docker.com/_/docker/


(Mpawelski) #22

I’m just learning about docker volumes and try to figure out how to copy files from volume (for back-up purpose for example) and the first thing that come to my head was to SSH to MobyLinuxVM. But apparently it’s imposible.
Does anybody know how actually I’m supposed to copy content of docker volumes in Docker for Windows?


(Michael Friis) #23

Does anybody know how actually I’m supposed to copy content of docker volumes in Docker for Windows?

Start a container with the volume and use docker cp: https://docs.docker.com/engine/reference/commandline/cp/


(Mpawelski) #24

Thank you!
I managed to copy files from mounted volume by passing container’s destination path of mounted volume :slight_smile:
But is it possible to copy volume’s data from volume that is not mounted (unused)? Do I always need to mount volume to container to copy it’s content?


(Michael Friis) #25

Not with Docker for Mac or Windows


(Corndah) #26

Is it now possible to navigate into MobyLinuxVM in a secure way? I need to change conf of some file of the MobyLinnuxVM but i cannot find a safe solution…


(Zarvak) #27

I would like to see this enabled too.


(Mikepuglisi) #28

Can I use your concept to mount a network drive on the host (MobyLinuxVM)?

I’m executing the following, but I think it is actually mounting the network drive to the temporary container

docker run --net=host --ipc=host --uts=host --pid=host -it --security-opt=seccomp=unconfined --privileged --rm -v /:/host alpine /bin/sh
chroot /host
mkdir -p /mnt/fs01.mycompany.loc/y_drive
mount -t cifs //fs01.mycompany.loc/y_drive /mnt/fs01.mycompany.loc/y_drive -o username=myusername,password=mypassword

Do you know how I can mount a network drive on the host (MobyLinuxVM)? I’m trying to find a workaround to what seems to be limitations in docker.


(Sowork) #29

Now, do you have a better solution?


(Swdtarun) #30

How can I found out Kafka installed inside MobyLinuxVM. I need to modify zookeeper.properties.


(Igiguere) #31

To Docker Staff, just so you know…
I’m experimenting with Flexera’s InstallAnywhere 2018. It supports creating Docker images from other InstallAnywhere installers. However, after installing Docker for Windows, I can’t go any further than this error message from InstallAnywhere:
“Docker engine is running successfully
SSH connection to Docker engine host was unsuccessful.”

I have installed the latest stable Docker for Windows (as available from the download link as of November 2018):
docker --version
Docker version 18.06.1-ce, build e68fc7a

Would you PLEASE enable SSH in Docker for Windows !


#32

Dear Docker Staff: You have seen that the call for this capability is overwhelming but there is a stunning silence - when will we be able to SSH into docker VM?