Tag: windows

Docker on Windows Server 2016 & microsoft-build-tools

There is something that does not make sense in choco package microsoft-build-tools version 15.0.26228.0 in combination with Docker on Windows Server 2016: Using following Dockerfile: # Adopted from http://blog.alexellis.io/3-steps-to-msbuild-with-docker/ FROM microsoft/dotnet-framework:4.6.2 SHELL [“powershell”] # Install Chocolatey RUN Set-ExecutionPolicy Bypass RUN iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’)) # Install dotnet 4.6.2 RUN choco install netfx-4.6.2-devpack -y # Install MSBuild […]

How to build docker images for windows using VS2017 and Docker integration?

I’m working on Visual studio and Docker integration, but after working with some sample projects I realized that I can only build docker images for linux but not for windows. Is there any way to build docker images for windows?

How to get ng serve to work with host name on a VirtualBox Docker set up

My set up: Windows 10 running virtual box with Ubuntu 16.04 running a docker container with @angular/CLI: 1.1.3 node: 6.11.0 from which ng serve is called to run an angular 4 application On my windows machine hosts file, I have host name local.angular pointing to Vbox’s 192.168.56.101 and my network setting for virtual box is […]

How to change owner of Docker for Windows

Environment Windows 10 [10.0.15063] Docker for Windows Community Edition 17.03.1-ce-win12(12058) stable The host is mounted and partitioned into NTFS format Command host docker run -d –volume E:/tmp:/tmp/test –name debian debian:8 docker exec -it debian /bin/bash container cd /tmp/test mkdir abc ls -l # This line will be shown that root is the owner of abc […]

How to mask multiple Docker containers to a single public IP on Windows 10/ Server 2016

We need to run multiple containers (For scaling) on a single IP which should be a public IP and can be accessed from anywhere. Tried mapping Host IP-Port to container port but each container is to be mapped to a different port – Hence, not what we were looking for. Natting was an option (Creating […]

Docker Object reference not set to an instance of an object

After searching for a while, I found a post the describe how to get rid the docker errors in windows 10 of: Object reference not set to an instance of an object. [It probably happens due to the fact that I played with it and with the hyperv a lot since I used kubernetes…]. The […]

Docker Windows send build context fails if over 80Mb

I am not able to find out what is happening when I try to build an image using docker build –host. It is failing right at the beginning when sending the build context. It is only working if the size is below 80 Mb. I have checked the Docker version: 17.03.1-ee-3, API: 1.27, network, firewall […]

Can i use watch in nodemon or pm2 in docker with file in shard drive?

I’m using Docker for windows and shared drive. in linux container, setup my express server using nodemon and I edited my source file from windows. but after file changed, watch doesn’t work. PM2 is same. How can i use watch event?

How to run Eclipse with Docker on Windows using Boot2Docker?

i installed Boot2Docker v1.7.1 for Windows and started it like described in the manual. After that i run the docker image batmat/docker-eclipse. Unfortunately i got the error: Eclipse: Cannot open display: org.eclipse.m2e.logback.configuration: The org.eclipse.m2elogback.configuration bundle was activated before the state location was initialized. Eclipse: Cannot open display: Eclipse: An error has occured. See the log […]

Unable to access MongoDB within a container within a Docker Machine instance from Windows

I am running Windows 7 on my desktop at work and I am signed in to a regular user account on the VPN. To develop software, we are to normally open a Dev VM and work from in there however recently I’ve been assigned a task to research Docker and Mongo DB. I have very […]

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