Category : windows-server

Is it possible to run SMB in Dockerized Windows Server container? I am running the following: $sharepath = "c:share" $Acl = Get-ACL $SharePath $AccessRule= New-Object System.Security.AccessControl.FileSystemAccessRule("DOMAINFile Server Admins","full","ContainerInherit,Objectinherit","none","Allow") $Acl.AddAccessRule($AccessRule) Set-Acl $SharePath $Acl NET SHARE sharename=c:share "/GRANT:Everyone,FULL" As a result, I get the following: The Server service is starting. The Server service could not be started. ..

Read more

According to https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/persistent-storage ("Named Volume" section) running containers on Windows Server with specified volume means that target path is converted to lowercase. So, are there any workarounds to prevent it from doing it? I want to create volume on Windows Server -v unwound:/app/MyData and don’t want it to be converted in -v unwound:/app/mydata Source: Docker ..

Read more

Docker desktop is using Linux containers. (Yes, I tried this: Docker Error: failed to register layer: Error processing tar file(exit status 1): "…msader15.dll.mui: no such file or directory", but using Docker Desktop with Windows containers caused the docker-compose command to fail with the response Error response from daemon: operating system is not supported) Structure – ..

Read more

Under Windows Server 2016, first, I was directed to do this: PS C:UsersAdministrator> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Then, following instructions from here I type: Install-Module DockerMsftProvider -Force which runs fine. However, when I try: Install-Package Docker -ProviderName DockerMsftProvider -Force I get this error: PS C:UsersAdministrator> Install-Package Docker -ProviderName DockerMsftProvider -Force WARNING: Cannot find path ‘C:UsersADMINI~1AppDataLocalTempDockerMsftProviderDockerDefault_DockerSearchIndex.json’ because ..

Read more

I have the next docker-compose.yml: version: ‘3.9’ services: server: build: context: . dockerfile: Dockerfile environment: – "SQLALCHEMY_DATABASE_URI=<DB_CONNECTION_STR>" – "RAW_DATA_DIR=/app/mydrive" – "INDEXING=False" restart: "always" volumes: – ${CONFIG_PATH}companyLogo.png:/app/files/branding/companyLogo.png – mydrive:/app/mydrive networks: – internal ports: – ’80:80′ command: "server" volumes: mydrive: driver: local driver_opts: type: cifs o: ‘username=<USERNAME>,password=<PASSWORD>,domain=<DOMAIN>,uid=5000,gid=6000’ device: ‘<LINK_TO_MY_SERVER>’ networks: internal: And azure-pipeline.yml with Azure Agent on ..

Read more

I’m trying to find a clear, official statement whether Docker officially supports Windows Server operating systems. They are not listed in the system requirements, but I’m not sure if that is the same as saying "It’s not supported". There is also a Microsoft Doc about this, but it’s unclear to me if it is about ..

Read more

I’m trying to install wireshark and npcap in a windows docker container like so: FROM winamd64/python LABEL description="docker_windows" RUN pip install flask flask_restful pyautogui RUN ren C:/Users/ContainerUser C:/Users/john COPY windows C:/Users/john/agent/ RUN mkdir C:/wireshark RUN C:/Users/john/agent/ext/Wireshark.exe /S /NCRC /desktopicon=no /quicklaunchicon=no /D=C:/wireshark RUN C:/Users/john/agent/ext/npcap.exe /S I got the command line flags for each from here (wireshark), ..

Read more