Tag: windows

Docker for Windows: Spinning up multiple docker containers locally with same port numbers

I’m using Docker for Windows (using Hyper-V, not Docker Toolkit for Windows). What I would like to accomplish is to spin up 3+ docker containers, with the same set of ports available. After I create the first docker container, I have http://docker:8091 (or http://10.0.75.2:8091) available, and that’s fine. Now, what I want to do is […]

How can avoid symlink problems with npm running in Docker on a Windows host?

I am using the latest Docker public beta on Windows 10. I am developing a Node.js app and I am using Docker with my src directory mounted as a volume in a container. I cannot run npm install from inside the container because it will cause the creation of symbolic links (in the node_modules directory), […]

How to currectly create Virtual Switch in Windows Server 2016 TP4 while installing Docker? (not boot2docker)

I have an installed Windows Server 2016 Technical Preview 4 on VMware Warkstation. It has 2 GB RAM and 60 GB disk space. I try to install Windows Server Host for Docker according to official Microsoft instruction. Instruction in general in the picture I don’t need a Hyper-V Containers technology so for this guide i […]

Install Tensorflow on Windows Docker installation

I am trying to install Tensorflow on my Windows PC using the Docker intallation (https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#docker–installation). After the installation of Docker, I have followed these instructions: http://www.netinstructions.com/how-to-install-and-run-tensorflow-on-a-windows-pc/ . Everything works well ultil the last step: when I type the instruction docker run -it b.gcr.io/tensorflow/tensorflow I obtain the following output: [I 10:10:57.073 NotebookApp] Writing notebook server al/share/jupyter/runtime/notebook_cookie_secret […]

file system issue when i use vagrant+docker on windows

this is my vagrant file Vagrant.configure(“2”) do |config| config.vm.define “app” do |app| app.vm.provider “docker” do |d| d.build_dir = “.” d.cmd = [“/sbin/my_init”, “–enable-insecure-key”] end end config.ssh.username = “root” config.ssh.private_key_path = “insecure_key” end This is my docker file FROM phusion/baseimage:0.9.15 MAINTAINER neetu ENV HOME /root RUN mkdir /buzzbuild ADD . /buzzbuild RUN cd /buzzbuild/ && chmod […]

How do we start the daemon?

Running docker info from an elevated PowerShell prompt shows this error: error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.27/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running. (Emphasis added) […]

Windows Containers – culture settings

I need to run a legacy application on my computer, which requires a specific culture setting in Windows in order to work. I do not want to change the global culture settings in Windows in order to accommodate this application I could run it in a Virtual Machine, but I would prefer to run it […]

docker toolbox on windows then docker run hello-world gets x509: certificate signed by unknown authority

Tried many of the examples but none work for me. My Docker version: C:\>docker version Client: Version: 1.12.2 API version: 1.24 Go version: go1.6.3 Git commit: bb80604 Built: Tue Oct 11 17:00:50 2016 OS/Arch: windows/amd64 Server: Version: 1.12.3 API version: 1.24 Go version: go1.6.3 Git commit: 6b644ec Built: Wed Oct 26 23:26:11 2016 OS/Arch: linux/amd64 […]

Docker Compose (docker-compose) couldn't connect to docker daemon on Windows Server 2016 TP5

I am trying to get docker-compose to work on Windows Server 2016 TP5. I have installed Docker for Windows (not Docker Toolbox) as a service, which works perfectly. I have downloaded the latest docker-compose for windows from https://dl.bintray.com/docker-compose/master/ and put it in the same path as Docker (after unblocking the downloaded file, and renaming it […]

Persist data from docker container to host machine

I am running docker on windows 10 laptop, I’ve set up my first container running Elasticsearch using a Dockerfile and it works. Every time I stop the container and start it again the data is gone. On my windows machine I created a folder in location C:/Docker/esdata and in my elasticsearch.yml I’ve added path.data: /usr/share/elasticsearch/data […]

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