Tag: docker machine

Talking to remote docker from Linux to Windows

I’ve Windows 7 in which docker toolbox installed with VirtualBox running with default docker machine. I’ve another Linux machine in which I’ve setup the habitat (habitat.sh) and trying to export the package using hab pkg export docker <..> command but it is obviously giving me below error at the end: “Cannot connect to the Docker […]

How do I publish an ASP.NET Core application in a Docker container?

I would like to publish a .net application in Docker Containers using Visual Studio 2015. However, at step: Publish. I didn’t see Docker Containers. I installed Docker Toolbox, VS2015 Tool for Docker. Thanks for your helping.

Docker VM is unable to start!! Using Windows 7 — Docker Toolbox

Expected behavior Start the default docker-machine Actual behavior Looks like something went wrong in step ‘Checking status on default’ Information Starting “default”… (default) Check network to re-create if needed… Unable to start the VM: exit status 1 Details: 00:00:50.718299 NAT: DNS#3: Looks like something went wrong in step ‘Checking status on default’… Press an […]

OPTIONS field in Docker CLI commands – diff and cp

Looking at the Docker CLI documentation, I am trying to figure out what are the different [OPTIONS] possible in the below mentioned commands: docker diff [OPTIONS] CONTAINER docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH I tried docker diff –help to look at the various options possible, but its not very helpful. What are the possible [OPTIONS] in […]

Confused about Docker 1.12 types

I am new to docker and I am a bit confused of what is the difference between Tasks/Containers and between Images/Services. If somebody can explain a little bit about them I will appreciate it.

DOCKER for Windows – Open cmd executing docker machine env

I’m using Docker For Windows ( not Dokcer toolbox ) and it is running with HyperV. So, every time I open a new CMD, I need to run “docker-machine env” and define variables for shell following the command response : REM Run this command to configure your shell: REM @FOR /f “tokens=*” %i IN (‘docker-machine […]

cant connect to docker daemon – eclipse che

I’m using Eclipse-che on browser with help of docker command docker run –rm -t -v /var/run/docker.sock:/var/run/docker.sock eclipse/che start In the terminal tab of Eclipse Che, if i tried to use any docker command it throws – cant connect to docker daemon. Is the docker daemon running on this host? How to make this work? Is […]

Docker : How to change the location of directory images in Docker?

I’m beginner of Docker. I installed Docker on my Ubuntu 14.04. I want to change the default location of images (/var/lib/docker) to other location. I see some suggestions by adding this line in the file /etc/default/docker: DOCKER_OPTS=”-g /home/ubuntu/share/docker/docker_run” Then run: sudo service docker restart The I tried: docker images, the message shown: docker: Cannot connect […]

How to run docker image , take ssh of container and bind port to “49” in single cmd?

I wanted to run the image and take the ssh (bin/bsh) of container at the same time. To start a container and take ssh docker run -i -t –entrypoint /bin/bash <Image ID> But in above cmd, I am not able to bind port to 49.

Create multiple Docker machines at once with docker-machine

In my application, I need to create many Docker machines on a cloud computing service (AWS-EC2 for now but could be changed), then deploy many containers on those machines. I am using docker-machine to provision them on AWS, using a command like docker-machine create –driver amazonec2 –amazonec2-ssh-keypath <path-to-pem> <machine-name> The problem is that it takes […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.