Tag: windows

docker for windows equivalent for “-v /var/run/docker.sock:/var/run/docker.sock”

I’m trying to control the host docker service from inside a container. With Linux host and Linux container that is usually done like this: docker run -it -v /var/run/docker.sock:/var/run/docker.sock alpine I now want to achieve the same with a Docker for Windows host and a Linux container. If tried quite a lot of things, mostly […]

Where are the Docker registry login files?

I am switching Macs and don’t remember my Docker registry login. I could go in and reset it all, but I would rather copy the hashed login files to the new Mac. Where are the docker registry credentials stored locally on OSX, Linux and Windows?

Docker Windows – Looking for Ubuntu command in bash location

New to docker. Downloaded DockerToolbox-1.10.2.exe and installed on Windows 7, appears to be running properly. Trying the hello world tutorial at: Hello World at Docker.com When I run the following command $ docker run ubuntu /bin/echo ‘Hello world’ It appears to download the Ubuntu image: Unable to find image ‘ubuntu:latest’ locally latest: Pulling from library/ubuntu […]

Docker: how to execute a batch file when container starts and keep the user in cmd / session

I’m using Docker on Windows 2016 Server TP4 with a Windows container. When the container gets started, I want to execute a certain initialization script (init.bat) but also want to keep the user logged into the container session (in cmd). With this dockerfile: FROM windowsservercore ADD sources /init ENTRYPOINT C:/init/init.bat and this init.bat (which is […]

What is the best way to run an Ubuntu server on Windows with Docker and develop with an IDE?

I am trying to switch from developing in an Ubuntu VM to using Docker but don’t want to be confined to command-line applications/editors etc. Is there a way I can use Docker to run my Ubuntu server with NodeJS/Rails/etc while editing my application code in Windows using an IDE, or at the very least a […]

connecting Docker on Windows to Google Cloud Datalab

I am trying to follow this https://cloud.google.com/datalab/docs/quickstarts/quickstart-gce tutorial on Windows 10 but I am receiving an SSH key error. I’ve tried various modifications on the file’s permissions using both Cygwin chmod and the Windows properties GUI but I am unable to get rid of this error, even after removing all permissions from other users. How […]

Installing Docker on Windows Server 2016 TP4

I want to install Docker on a physical machine with Windows Server 2016 installed. (Using the Admin-Account, not a Guest or Normal User Account) So i tried this guideline. But the second command fails with following error: Command: powershell.exe -NoProfile -ExecutionPolicy Bypass C:\Install-ContainerHost.ps1 -HyperV … Docker is already installed. Installing ContainerImage provider… C:\Install-ContainerHost.ps1 : Could […]

Docker Installation Error on Windows behind Firewall

I’m trying to install Docker on a Windows computer but I get this message: Running pre-create checks… (default) No default Boot2Docker ISO found locally, downloading the latest release… Error with pre-create check: “Get https://api.github.com/repos/boot2docker/boot2docker/releases/latest: dial tcp connectex: A connection attempt failed because the connected party did not properly respond after a period of time, […]

Certificate errors after changing docker location on windows

I’ve moved my docker location from my C:\ drive to another drive. I did this initially by removing the docker machine (docker-machine rm) and creating a new one ($ docker-machine –storage-path “D:\users\me\.docker\machine” create –driver virtualbox default). I also set the environment variable MACHINE_STORAGE_PATH=”D:\users\me\.docker\machine” which was needed to get docker to see the newly created machine. […]

Create a Docker Container using VirtualBox on Windows for Kubernetes

I’m starting to experiment with Kubernetes on my Windows 10 dev machine. I’ve got minikube running on my machine, with some “canned” test services, so it looks like Kubernetes is working properly. Now I’m trying to create my first service by following this: http://kubernetes.io/docs/hellonode/ The problem is I can’t build the docker image. I get […]

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