Generate TLS certificates for Docker for Windows

Within PyCharm I am trying to connect to the Docker daemon using the API url. However it will not connect without a valid certificate. I have Docker for Windows installed and within the Hyper-V Manager the MobyLinuxVM is running. I can create images etc. with no problems using the docker commands withing PowerShell, so I […]

“docker run hello-world” through a proxy tunnel

Docker through tunnel I have a Linux Docker host set up and running. On my laptop I can successfully issue commands (such as docker run hello-world) directly to the Docker host. However, now I need to issue commands to the host indirectly through a tunnel provided by The problem Assume the Docker host […]

Why does DockerFile ADD not dereference symbolic links?

I understand that DockerFile ADD does not dereference symbolic links. But why not? This would be very useful. The discussion in the above-linked ticket does not really provide any substantial rationale.

WordPress 4.8 on Docker REST API Not Accessible

So I recently installed WordPress using Docker, which is a straightforward fill-in-the-blank compose file from Docker docs ( version: ‘3’ services: db: image: mysql:5.7 volumes: – db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: MYSQL_DATABASE: MYSQL_USER: MYSQL_PASSWORD: wordpress: depends_on: – db image: wordpress:latest ports: – “8000:80” restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: WORDPRESS_DB_PASSWORD: volumes: db_data: It’s up-and-running. That […]

ansible-docker invalid container.yml

Im trying to run a sample ansible-container as given in this document. but get the following error. Invalid container.yml: Parsing container.yml version: “2” settings: # The Conductor container does the heavy lifting, and provides a portable # Python runtime for building your target containers. It should be derived # from the same distribution as […]

Service from sources inside Docker container

Short question: is it ok (aren’t there any contradictions with Docker ideology) to compile and start application from sources inside Docker container? Assume that I have some hypothetical application. Let it be Java web service built with Maven, located somewhere in GitHub. Specifics doesn’t matter here. But before starting this service, I need to set-up […]

Crossbar docker image: Operation not permitted '/node/.crossbar/'

I just want to run crossbar start from my dir, hooking up a volume in this way antonio@debian:~/dev/just-server$ sudo docker run -v ${PWD}:/node -p 8080:8080 -it crossbario/crossbar but i’m getting this error: 2017-06-28T19:46:25+0000 [Controller 1] Traceback (most recent call last): 2017-06-28T19:46:25+0000 [Controller 1] File “/usr/local/bin/crossbar”, line 11, in <module> 2017-06-28T19:46:25+0000 [Controller 1] sys.exit(run()) 2017-06-28T19:46:25+0000 [Controller […]

Docker command won't connect to docker

Latest Mac Sierra 10.12.5 and latest stable CE Docker for Mac Version 17.03.1-ce-mac12 (17661). Docker says server is “started” but when I do command line ‘docker info’ I get the following error after a long delay: Cannot connect to the Docker daemon at tcp:// Is the docker daemon running?

Script fails at build but works from Docker container

I am trying to run unit tests through Docker for a directory monitor which reacts to file and directory creation, movement and renaming. Here is the script : #/bin/bash # Launch Redis server redis-server –daemonize yes # Start directory_observer python /test/directory_observer/src/ –config=/test/directory_observer/tests/directory_observer.ini & # Execute test script (operations in the folders) bash /test/directory_observer/tests/Dockerfile_testing/ # Run […]

Installing mongoimport in a docker image

from my node scripts I need to execute mongoimport via the exec function from child_process. When it comes to the CI tests in the docker image I run into a problem: /bin/sh: 1: mongoimport: not found Now I inserted the installation of mongodb in the drone.yml file: – apt-key adv –keyserver hkp:// –recv EA312927 – […]

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