Tag: windows

Configuring PHP development environment

After a long time of using LAMP and WAMP, I’ve decided to try out Docker (buying new hard drives today, so why not?). I’ve managed to create containers for my website and everything works fine. Content is updated, database is saved to the folder (so kind of persistent), however, I’ve read that it is possible […]

Can't build docker image via gradle on Windows 10

I am new to Docker and i have problems with building image from the gradle script using gradle-docker-plugin : task dockerBuildImage(type: DockerBuildImage, dependsOn: [dockerCreateDockerfile, assemble]) { tag = “my_tag_here” dockerFile = dockerCreateDockerfile.destFile inputDir = dockerCreateDockerfile.destFile.parentFile } And than i am getting such stacktrace: Building image using context ‘D:\Learning\1\myproject\webapp\build’. Using Dockerfile ‘D:\Learning\1\myproject\webapp\build\Dockerfile’ Using tag ‘localhost:5000/test/myproject-webapp:1.0.0-20170318135307’ for […]

Unknown Blob when pulling microsoft/xxxxx

I wanted to pull the the Docker image for Windows core/nano, docker pull microsoft/xxx to my local computer. The pull starts but it quickly ends with the error unknown blob Same result for both of these: PS C:\>docker pull microsoft/nanoserver PS C:\>docker pull microsoft/windowsservercore

How can I resolve the error oci runtime error: exec: no such file or directory when using docker run on Windows

When running a Docker command such as docker run ubuntu /bin/echo ‘Hello world’ used in the in the starter example docs on the Learn by Example page of the Docker docs I see the error C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: oci runtime error: exec: “C:/Program Files/Git/usr/bin/bash”: stat C:/Program Files/Git/usr/bin/bash: no such file or directory. […]

Docker containers work on port 80 only

I tried this on multiple machines (Win10 and server 2016), same result using this tutorial: https://docs.docker.com/docker-for-windows/#set-up-tab-completion-in-powershell This works docker run -d -p 80:80 –name webserver nginx Any other port, fails with docker run -d -p 8099:8099 –name webserver nginx –> ERR_EMPTY_RESPONSE Looks like Docker/nginx is listening failing on this port, but failing. Telneting to this […]

Mounting windows drives to access from docker

I am looking to use files on my Windows in a docker container. This is explained here. My question relates to how to get to the docker settings dialogue. I am using docker tool box on windows 10. When I right-click on the docker icon from the task bar, I get three options: Docker Quick […]

Weird terminal formatting on Windows

when running a container with Docker my terminal screws up. This both happens with powershell and cmd. And only when accessing a docker container. How can I have it normal? PS: This happens from when I reinstalled Docker

Access Windows GPU in Boot2Docker

Is there a way to work with the Windows GPU in Boot2Docker? In particular, I’m aiming to be able to record audio with pyaudio inside of a Docker container. I know that when running on Linux, you can use the –device flag to mount /dev/snd/ appropriately; however, I need this to be able to run […]

docker exec bash in windows – keyboard arrow keys don't work

I’ve always just used boot2docker ssh and in that I’d run docker exec -it container bash and it would work fine. Now I’m using the new windows client and while docker exec -it container bash will get me to a bash prompt, from there if I type, left/right/up/down/home/end/page up/page down won’t work. Not sure what […]

How to build an imagem using Boot2Docker on Windows?

I have my local development files on G:\www\project and my Dockerfile is placed in G:\www\project\Dockerfile. Currently there’s no way I can do docker build -t app ., my Dockerfile is like this: FROM ubuntu:14.10 RUN apt-get update && apt-get upgrade -y –force-yes && apt-get -y install software-properties-common –force-yes RUN locale-gen pt_BR.UTF-8 ENV LANG pt_BR.UTF-8 ENV […]

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