Tag: windows

Docker pull gives error unkown blob for microsoft/windowsservercore

I’ve mac OS as my host operating system and trying to pull an windows image microsoft/windowsservercore . While downloading it gives unknown blob error. Docker version is 17.03.0-ce and shows OS/arch as linux/amd64. Would it be helpful if I change the OS/arch similar to the below: https://i1.wp.com/blog.docker.com/wp-content/uploads/docker-for-windows-switch.gif?zoom=1.25&w=1140&ssl=1/ If so, could some one help me on […]

Docker on windows server 2012r2

Confused about one thing. So does running the docker engine on windows server 2012 work? Or is it just that the container OS needs to be 2016 or Nano? So docker engine on 2012, running a container with 2016/Nano

Docker image for windows components

I have a python script which is used for testing. This script also uses ‘scommand’ tool. Its a windows command line tool(basically a .bat file) to execute SOATEST related things (https://cloudlink.soasta.com/t5/CloudTest-Knowledge-Base/Using-SCommand-to-Deploy-and-Manage-Grids/ta-p/44613). I downloaded Python image and was able to execute few sample python scripts. But to run this code, I need ‘scommand’. I searched online […]

Docker – Creating multiple containers/environments with different versions

I’m starting with MongoDB and taking four courses. All of them use different versions of mongodb, python, nodejs, asp.net, mean stack, etc. The structure of my desirable workspace: courses ├─ mongodb_basic │ ├─ hello_world-2.7.py │ └─ data │ └─ db ├─ python-3.6_mongodb │ ├─ getting_started.py │ └─ data │ └─ db ├─ dotnet_and_mongodb │ ├─ […]

Windows Container (Nano Server) with ASP.NET Core

I’m trying to make an Windows Nano Server container that runs an ASP.NET Core app. I’m building it on Windows Server 2016. I can make it work, but there is one odd problem. The only way I can make it work is to build the image, run the container, then start an interactive Powershell session […]

Packer Docker builder using chmod on Windows 10

Here is my packer file: { “builders”: [{ “type”: “docker”, “image”: “ubuntu”, “export_path”: “image.tar” }], “provisioners”: [{ “type”: “shell”, “inline”: [“mkdir /full_install”, “mkdir /scripts”] }, { “type”: “file”, “source”: “./scripts/”, “destination”: “/scripts” }] } Simple. Trying to just make 2 directories and then upload some scripts to one of the directories. I am getting the […]

Docker-compose invalid bind mount spec “/rootfs:ro”: invalid volume specification

I’m following the installation steps from dockprom but getting this error: ERROR: for cadvisor Cannot create container for service cadvisor: invalid bind mount spec “/rootfs:ro”: invalid volume specification: ‘/rootfs:ro’ ERROR: Encountered errors while bringing up the project. I added environment variable “COMPOSE_CONVERT_WINDOWS_PATHS=1” to docker-compose.yml but this doesn’t help. docker 17.03.1-ce-win5 (10743) windows 10 Thanks in […]

How Can I Get Mitmproxy Docker to Work on Windows Bash?

When I try running mitmproxy Docker container on Windows bash, I get an error message that the Docker daemon isn’t running. How can I get it to run? docker run –rm -it -p 8080:8080 mitmproxy/mitmproxy docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.

Docker DNS for Service Discovery to resolve Windows Container´s address by name does not work consistently

Working with Docker Windows Containers I want to go beyond only one Docker container running a App. As described in the Microsoft docs under the headline “Docker Compose and Service Discovery”: Built in to Docker is Service Discovery, which handles service registration and name to IP (DNS) mapping for containers and services; with service discovery, […]

docker-compose error on the Django's welcome page

When I visit the address http://192.168.99.100:8000/ I can’t see the django‘s welcome page in my browser. gmondesi@MRT-3-011 MINGW64 ~/Documents/GitHub/docker-django-tutorial (master) $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DO CKER ERRORS default * virtualbox Running tcp://192.168.99.100:2376 v1 7.04.0-ce gmondesi@MRT-3-011 MINGW64 ~/Documents/GitHub/docker-django-tutorial (master) $ docker-machine ip 192.168.99.100 gmondesi@MRT-3-011 MINGW64 ~/Documents/GitHub/docker-django-tutorial (master) $ docker-compose run web […]

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