Questions tagged [docker-windows]

1

votes
2

answer
49

Views

Docker container doesn't run until I click “Enable volumes” in Kitematic

I recently created a docker-compose file here: https://github.com/ffMathy/Screeps.Server.Docker/blob/master/docker-compose.yml I'm currently on Windows, but running Linux containers. When I try to start up my containers using docker-compose up, they appear just fine. However, the screeps container d...
1

votes
0

answer
298

Views

Docker for Windows - Install certificates using sn.exe / Strong Name utility

We have a Docker image that we use to build our Visual Studio solutions. This works great. Now we have some solutions that require a key. To install the key you use sn.exe, but Microsoft has gone through great lengths to make sure human input is needed, namely the password.. The image is based off F...
Thomas Rijsewijk
1

votes
1

answer
429

Views

how to see adb devices on linux container when host is windows 7 machine

i have a windows 7 machine with docker tool box installed i downloaded image and running container which have adb installed in it from below link https://hub.docker.com/r/muicoder/adb/ The container is up and running, with container id mentioned below 9ba51613a7be on my host machine(windows 7) , i...
pankaj mishra
1

votes
0

answer
114

Views

Windows containers volume file permission issue

I am trying to set up a PHP+Apache development environment using Docker containers on Windows 10. PS H:\> docker version Client: Version: 17.12.0-ce API version: 1.35 Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:05:22 2017 OS/Arch: windows/amd64 Server: Engine: V...
Jake He
1

votes
0

answer
244

Views

Can't start docker on windows

I continue to get the following error when trying to start docker on Windows 10 pro. my HyperV is turned on and running: Version 18.04.0-ce-win62 (17151) Channel: edge e0a85f6 Any help would be appreciated! Unable to create: The running command stopped because the preference variable 'ErrorActionPr...
user1116536
1

votes
0

answer
160

Views

Docker Windows host - Installing nVidia driver on the Linux VM used for Linux containers

I'm trying to use DIGITS from nVidia on my Windows machine without building it myself. I thought it's easier to use Docker (starting to change my mind). My understanding is that Docker on Windows is basically using a Linux VM to actually run Docker.. so, the Docker interface on host Windows is simpl...
SpaceMonkey
1

votes
0

answer
165

Views

Not able to run .sh file inside windows docker container

I have built image on top of microsoft/windowsservercore using dockerfile on Windows 10 machine. Docker image is created successfully. I need to run .sh file after logging into windows container. However i am not able to run any .sh file. If i run .sh file, nothing happens. c:\WorkSpace\dbscripts>ba...
Jayesh Kulkarni
1

votes
1

answer
588

Views

Dockerizing a Windows Service Docker for Windows

I have a existing Windows Service which I want to move to docker container in windows. I'm new to this. If somebody can help me how to create docker image to move windows service into docker, it would be helpful.
user3197881
1

votes
2

answer
2.5k

Views

docker-compose “No such file or directory” for sh-command

I am setting up docker-for-windows on my private pc. When I set it up a while ago on my office laptop I had the same issue but it just stopped happening. So I am stuck with this: I have a docker-working project (on my other computer) with a docker-compose.yml like this: version: '2' services: web: d...
Ron
1

votes
0

answer
191

Views

Docker for Windows NAT network sharing doesn't work

I am trying to start two docker containers (docker EE 17.06) that share the same NAT network on windows Server 1709. I start my first container with: docker run -it --net=nat --name=container1 microsoft/nanoserver:1709 And in another window the second container: docker run -it --net=container:contai...
Radu Pascal
1

votes
0

answer
137

Views

Can I upgrade docker on AWS ECS AMIs?

Im using the latest AWS windows container server ami: Windows_Server-2016-English-Full-Containers-2018.07.11 (ami-9e0d5ee6) And this is the docker version: version: Client: Version: 1.12.2-cs2-ws-beta API version: 1.25 Go version: go1.7.1 Git commit: 050b611 Built: Tue Oct 11 02:35:...
red888
1

votes
1

answer
399

Views

Docker and EF Core: No connection could be made because the target machine actively refused it

I try to connect to the host's SQL Server Instance (SQL 2017 on Windows 10) from a Docker container (running a .NET Core app with EF Core). The SQL Server is configured to listen on the default port 1433 (no dynamic ports are used) and to allow remote connections (TCP/IP). I also set up an inbound r...
Alex
1

votes
0

answer
38

Views

Issue where disk space is not cleared after using docker containers

Host distribution and version : Windows Server 2016 LTS Docker Version : Docker version 17.06.2-ee-10, build 66261a0 Background : We deployed some springboot application using docker EE in Windows server 2016. Whenever we do an version upgrade of the application, the disk space is not cleare...
VVP
1

votes
0

answer
146

Views

How to dockerize React App on Windows Containers

I have a React app that I would like to Dockerize for Windows containers. this my Dockerfile: FROM stefanscherer/node-windows # Override the base log level (info). ENV NPM_CONFIG_LOGLEVEL warn # Expose port for service EXPOSE 80 # Install and configure `serve`. RUN npm install -g serve # Copy source...
grifoxx
1

votes
0

answer
44

Views

Docker in Pycharm: remote file X.py is mapped to the local path Y.py and can't be found

I'm trying to use a Docker container (anaconda)'s interpreter to run some code in Pycharm. My Run/Debug configs are set up properly and can run simple codes with the Docker interpreter. However, there appears to be issues as soon as I import stuff. I'm not too familiar with how to set up mapping. Wh...
matohak
1

votes
0

answer
69

Views

tar utime from docker-on-windows does not work

I am trying to do some builds from docker (yocto specifically), and I would like to be able to run it and have the output be in the Windows filesystem. However, no matter I do, utime does not work from the docker container. (Note that all is fine if I change the output directories to be inside the d...
Ben
1

votes
1

answer
35

Views

connect to server runned in windows docker container

I am a newbie with docker. I need to use it at windows 7*64 , via docker toolbox. I need to make a connection to server below: Run the server: docker run -p 4444:4444 mycontainerWithServer After this i open new docker toolbox window and try to connect to localhost:4444. I get ConnectionRefused error...
Vova
1

votes
0

answer
78

Views

Docker for Windows, AspNetCore, and aspnet-webpack Hot Module

I've recently converted my AspNetCore web application to use docker containers for local development and have run into trouble getting the npm module 'aspnet-webpack' to work. When I start the container, I get the following error: Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationExcepti...
Jeff
1

votes
0

answer
52

Views

How to make use of GPU in windows docker using DDA(discrete device assigment)

As NVIDIA docker is not available with Docker Desktop for Windows. I am looking for alternatives to get GPU work in docker. When I googled, I came to know about discrete device assigment, on can assign gpu to docker container. But I am not aware of this. Please help how to get GPU worked using DDA
JibinNajeeb
1

votes
2

answer
54

Views

Start the docker container under a different user

We need to have access to a shared resource in the active directory (file share) from a docker container which is running a dotnetcore api. The Api is started with (dotnet api.dll). The current user in the docker contrainer is ContainerAdministrator. We are using Windows 2016 server
hippie
1

votes
1

answer
34

Views

Docker Rest API to Perform Docker Operations Remotely

I want to connect to a Windows Server Where Docker is Running (Windows Server 2016) and do all the docker operations programmatically using Rest Calls. Can Anyone provide me the Docker Rest API to connect to Windows Server and perform those operations like Docker Container Creation?
RajNikhil Marpu
1

votes
0

answer
57

Views

Docker Desktop for Windows + ASP.NET Core Error

I have recently decided to give docker a try and I'm running into this error for 2 days now. No matter what I do, I can't seem to get rid of it. For a .NET Core 2.2 application: 2>C:\Users\Russell\.nuget\packages\microsoft.visualstudio.azure.containers.tools.targets\1.4.4\build\Container.targets(256...
mdrussell0779
1

votes
0

answer
38

Views

Building Windows Docker images: Lambda-EC2 vs Docker Hub vs AWS ECR

Problem The problem is CodeBuild can not build windows Docker image. That happens due to the fact that CodeBuild is runing inside Docker container, and Microsoft does not support Docker inside Docker. I know, not the first question about this topic, i.e. this. But I gonna suppose some alternatives t...
VB_
1

votes
0

answer
26

Views

Alternative to using --squash when building docker images on Windows using local files

---Update--- It looks like --squash is bugged on Windows, so it is not really an option: https://github.com/moby/moby/issues/31468 ---End Update--- We have some local installers and zip files that we use to build our docker images. It is easy to get this to work in a Dockerfile: FROM mcr.microsoft....
MrBerta
1

votes
2

answer
162

Views

Start Docker Containers on logon under Windows

I've just set up a new Windows 10 development machine and so as to minimise the hassle of installs I've got various dev dependencies (Oracle, MongoDB, RabbitMQ, HAProxy, etc.) running under Docker using a docker-compose script. I'd like to automatically start these containers on Windows logon but as...
Henry Wilson
1

votes
1

answer
578

Views

Unable to run Docker command

I have installed Docker for Windows, and trying the run a simple command, but I am getting the below error: error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.29/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configurati...
Jagadisha B S
1

votes
1

answer
347

Views

Run Omnet++ inside docker with x11 forwarding on windows. SSH not working

Cannot ssh into container running on Windows hostmachine For a university project i build a docker image containing Omnet++ to provide a consistent development environment. The Image uses phusions's Baseimage and sets up x11 forwarding via SSH like rogaha did in his docker-desktop image. The image...
1

votes
1

answer
819

Views

Is there a way to create/add files to docker image manually?

I'm trying to build a ruby-on-rails project, using rails 1.9.3 on Debian image. After I've built it, using dockerfile, it appears that a directory is missing. So the container doesn't start. So, can I add it manually? I've tried to use 'docker run -it sh' to run it as shell, but for some reason, af...
1

votes
1

answer
86

Views

Windows Docker wmic

I am trying to determine what programs are installed in my Windows Docker Container (pulling from microsoft/windowsservercore). I thus followed this tutorial https://helpdeskgeek.com/how-to/generate-a-list-of-installed-programs-in-windows/. However, when I run wmic /output:C:\InstallList.txt product...
Jake Ronen
1

votes
2

answer
437

Views

Error starting Docker container (WSL, docker-ce, Ubuntu 16.04)

Microsoft Windows [Version 10.0.17134.285], Ubuntu 16.04 (WSL), docker-ce (stable) I am following the instructions here - https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly. I opted for 'stable' rather than 'edge'. I mounted the c drive mapping manually with sudo...
kpollock
1

votes
1

answer
0

Views

CPU resources during docker build command on Windows

How can one control how many logical processors are used by docker build command on Windows? I have this dockerfile: FROM mcr.microsoft.com/windows/servercore:1803 SHELL ['powershell', '-NoLogo'] RUN Get-ComputerInfo -Property *proc* CMD Get-ComputerInfo -Property *proc* and when I build an image I...
Pavels Ahmadulins
1

votes
1

answer
0

Views

Unable to bind host volume in docker-compose for Docker Windows

I've been attempting to solve this problem for what seems like an eternity, but it seems as though Docker for Windows has only recently been able to successfully bind volumes from the Windows host to its Docker containers. However, I'm unable to get the same functionality working via docker-compose....
syntaqx
1

votes
1

answer
0

Views

Which Visual Studio component contain the MSVC Hostx files?

My .NET solution contains an editbin command in PostBuild events. We try to create a Docker Container for compiling our solution. To do that, we installed the VS17 with the installer. We can't find which component we should select to get the editbin. In my machine, the editbin exist in C:\Program Fi...
Baruch
-3

votes
1

answer
18

Views

Why docker is needed [on hold]

I googled and I understand , docker will create an application image with environment setup. Consider, I have an asp.net application which is already hosted in production. I see, I can add docker support to an existing asp.net application. How docker can help me with this, because I have already an...
King_Fisher
1

votes
8

answer
1.3k

Views

Docker cannot remove all images

i'm using Docker Desktop for Windows. When I try to remove all of my images by this command: docker rmi $(docker images -q) I got this error message in command prompt: unknown shorthand flag: 'q' in -q) I'm running Docker on Window 10 Pro
Lee
1

votes
2

answer
940

Views

Docker on Windows does not support COPY --from?

I am trying to make use of this Docker construct: Optionally a name can be given to a new build stage by adding AS name to the FROM instruction. The name can be used in subsequent FROM and COPY --from= instructions to refer to the image built in this stage. But I get this message: COPY failed: stat...
1

votes
1

answer
3k

Views

How do I specify a PowerShell script as a Docker container entry point?

I need to run a [Windows] Docker container as an executable, running a rather involved PowerShell script (invoking Java and .NET applications) and exiting. Docker documentation suggests using ENTRYPOINT for this purpose. So I went ahead and created a Dockerfile with the following contents: FROM micr...
Web User
1

votes
1

answer
1.3k

Views

docker volume mounts with cached option

Does adding :cached on a volume mount for mac performance tuning effect docker for windows volume mounts? I'm working on a team with both mac and windows machines and it seems to still work but want to see if anyone has more to add on this. Here is the docker docs link https://docs.docker.com/docke...
Glen Thompson
1

votes
1

answer
196

Views

Running interactive container with power shell

I'm trying to setup an automated build container in Windows(host and guest). Right now I'm having problems executing a simple powershell inside the container. I've done the following: Created this DockerFile: # escape=` FROM microsoft/windowsservercore SHELL ['cmd', '/S', '/C'] CMD ['powershell.exe'...
Cristiano Araujo
5

votes
2

answer
2.9k

Views

Windows Server 2016 docker image default username/password

Is there a default user/password that the base microsoft/windowsservercore image uses?
maxfridbe

View additional questions