Docker Volume windows 10 running Windows Nano Container

0

When I add the Volume line in the docker the build fails. I verified the folders exist in the container via PowerShell.

Error

docker run -p 2525:2525 -p 2020:25 -p 65500-65515:65500-65515  -v c:\users\colemans\desktop\docker\minecraft\mountspigot:c:\installs\spigot  -it coleman/minecraft
docker: Error response from daemon: container 26dc9c95425474b94789d576a3a43ba805924bdfd7b0f1442fcd65a309c64b7d encountered an error during Start: failure in a Windows system call: The compute system exited unexpectedly. (0xc0370106).

Files & Folders in Installs Parent Name ------ ---- 1.0.1.0 Test IIS NanoServerPackage installs FTP installs IIS installs Spigot NanoServerPackage 1.0.1.0 Spigot config C:\Installs\Spigot\spigot-1.12.2.jar

Docker run

docker run -p 2525:2525 -p 2020:25 -p 65500-65515:65500-65515  -v c:\users\colemans\desktop\docker\minecraft\mountspigot:c:\installs\spigot  -it coleman/minecraft

Docker File

    # escape=`

FROM nicholasdille/javaruntime:8u172-nano
MAINTAINER nicholas.dille@mailbox.org

SHELL [ "powershell", "-Command" ]

ENV JAVA_MEM_START=32m `
    JAVA_MEM_MAX=4096m

COPY Installs c:\Installs
ADD entry.ps1 /
ENTRYPOINT c:\entry.ps1

EXPOSE 2525 25 21 25565 25575 14147 25000

VOLUME c:\installs\spigot
powershell
docker-for-windows
asked on Super User Apr 25, 2018 by Steve Coleman

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0