Tag: windows

Can i use Docker for creating exe using pyinstaller

I am supposed to create an executable for windows, mac and linux. However, I don’t have a windows machine for time being and also I don’t have a mac at all. I do have a Linux machine but I don’t want to change the partition or even create a dual boot with windows. I have […]

Docker + Windows 10

I try work with docker on Windows 10 and I have 2 problems. First: if i try do Dockerfile FROM nginx MAINTAINER Nikita rassamakhin “nrj.tomsk@gmail.com” COPY /nginx-conf/nginx.conf /etc/nginx/nginx.conf COPY /nginx-conf/vhost.conf /etc/nginx/sites-available/default RUN mkdir -p /var/www/ RUN chown -R www-data:www-data /var/www/ RUN chmod -R 755 /var/www/ and this docker-compose fpm: container_name: php7 image: php:7.0.2-fpm ports: – […]

Can't make Docker with Python run in windows

I’m using the following command to run python using Docker by the Prompt: docker run -it –rm –name filescreening -v “%cd%”:/usr/src/myapp -w /usr/src/myapp python:latest python filescreening/__main__.py Output: python: can’t open file ‘filescreening/__main__.py’: [Errno 2] No such file or directory I’m executing the command from the FileScreening folder, and i have a filescreening/__main__.py inside. I have […]

Docker image for aspNet core hangs on windows

I am trying to build a docker image for aspnet core on windows(which eventually I intend to deploy on an ubuntu box). I am following the sample “as is” given in following link: deploy aspet core on linux using docker container Problem appears when I try building docker image using following command given in tutorial: […]

Windows Containers, Console host WCF

I would like to put my application in a Windows container. It’s a WCF hosted in a console application. The application crashes when it tries to open the port. I know he must have administrator rights to run the application. I tried this Dockerfile. FROM microsoft/dotnet-framework RUN mkdir /myApp ADD /myApp/bin/ /myApp CMD[“runas”, “/user:administrator”, “myApp.exe”] […]

Docker “Operation not permitted” issue on Windows

I’m trying to use Docker on Windows through Docker Toolbox, but I’m struggling to make it work. I’ve pulled Docker PHP image. For example, this simple ls command fails: $ docker run -it –rm -v /$(pwd):/home/projects php:7.0-cli ls -l /home/projects ls: cannot open directory /home/projects: Operation not permitted Also, any other operation within the mounted […]

Docker Quickstart Terminal: exit status 255

Docker version 1.12.2, build bb80604 When I try to launch docker quickstart terminal, I am getting below error. Can anyone please provide inputs to solve this problem? Error checking TLS connection: Something went wrong running an SSH command! command : ip addr show err : exit status 255 output : ## . ## ## ## […]

Windows Containers : Unable to ping containers created with transparent network from other hosts

Environment : Windows Server 2016 in Azure Docker Version : 1.12.2-cs2-ws-beta Kernel Version: 10.0 14393 (14393.321.amd64fre.rs1_release_inmarket.161004-2338) I have created a transparent network with docker network create -d transparent trans and created two containers say A and B in the same network. I am able to ping A from B and vice versa. But i am […]

gem install fails when building an image on Docker for Windows

I’m trying to build a Docker image from a Dockerfile. The image is based on the latest node:alpine image. It installs Ruby and a few gems on top of it. Here is the Dockerfile: FROM node:alpine ENV BUNDLE_SILENCE_ROOT_WARNING=1 BUNDLE_APP_CONFIG=/usr/local/bundle \ BUNDLE_BIN=/usr/local/bundle/bin BUNDLE_PATH=/usr/local/bundle RUN apk add ruby ruby-io-console ruby-bundler ca-certificates \ build-base ruby-dev ruby-json libffi-dev \ […]

Where is the install location of the Windows Boot2Docker Image?

I have proxy issues when creating a new docker machine on a Windows 10 Enterprise with the docker Toolbox installed: docker-machine create -d hyperv mymachine The following error message appears(formatted for better readablilty): (mymachine) Unable to get the latest Boot2Docker ISO release version: Get https://api.github.com/repos/boot2docker/boot2docker/releases/latest: dial tcp connectex: A connection attempt failed because the […]

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