Tag: windows

Docker for windows 7- Get https://registry-1.docker.io/v1/repositories/library/hello-world/tags/latest: x509: certificate signed by unknown authority

When I try to run a hello-world docker image, as to test if my newly installed docker is working I get this error Docker for windows 7- Get https://registry-1.docker.io/v1/repositories/library/hello-world/tags/latest: x509: certificate signed by unknown authority. I am using Windows 7 enter image description here

Share folders between host and container in docker for Windows

I’m using the lastest Docker for Windows, which needs Hyper-V to be enabled, and virtualbox cannot be used in this case. I’ve installed the the ubuntu container and started it, I want to mount C:\Users\username in the docker container. I’ve tried the following methods. docker run -t -i -v /c/Users/username:/mnt/c ubuntu /bin/bash docker run -d […]

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 […]

Dockerfile not able to build on Ubuntu 14.04 but does fine on Windows 10 and Ubuntu 16.04

I have the following Dockerfile – FROM ubuntu:16.04 RUN apt-get update -y && apt-get install -y \ python-pip \ python-dev \ python-lxml \ build-essential \ qt5-default \ libqt5webkit5-dev \ xvfb \ git RUN pip install –upgrade pip && pip install \ lxml \ xvfbwrapper \ flask \ bs4 \ dryscrape # copy all files to […]

docker-compose on windows directory sync

Running the django tutorial for docker compose, but the command to init the django project is not working as expected. $ docker-compose run web django-admin.py startproject composeexample . [31mERROR[0m: Interactive mode is not yet supported on Windows. Please pass the -d flag when using `docker-compose run`. In windows “interactive” mode is not supported so I […]

Connect docker container (django app) to windows lan

I would like to run a docker in our windows environment so that staff can access the application from their own computers, but cannot get it working. I have tried both solutions of NAT and bridged mode that were suggested here to no avail: How to connect to a docker container from outside the host […]

dockerfile with windows path

I would like to launch COPY command dockerfile for build image docker with copy bash file from host(windows 10) to ubuntu image like this : COPY “C:\toto\directory_good\base.sh” /home/docker/scripts/base.sh I try a lot of possibility but I always have the same error message : lstat C:\base.sh: no such file or directory I want to provisionning and […]

How do I install Nexus 3 in a Docker container with no internet connection?

I want to install Nexus 3 in a Docker container on CentOS. But my CentOS server with Docker installed on it has no access to the internet. I want to use this command: Docker pull sonatype/nexus3 Is there a standalone, offline file or group of files to give me what I need? I have only […]

unresolved dependencies: sbt-routes-compiler and sbt-run-support

I am using typesafe-activator-1.3.10 and play-frame-2.5.6. I created my project project using java template like so: activator new webapp play-java On my windows machine, I don’t have any dependency issues while building this project natively. The specific command am using is: activator clean stage However, while trying to dockerize the same application using the same […]

Run a docker image on Windows results in “oci runtime error: exec: ”bash“: executable file not found in $PATH.”

I’m running Docker on Windows (“Docker Toolbox”, not “Docker for Windows”). I’ve built an image with a rails app inside. It works properly on my Mac OS but stucks on production on Windows. Using Docker 1.12 and docker-machine 0.8.0 on both machines. When I create a machine and try to run the container from image, […]

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