Tag: docker machine

Connecting to a remote docker machine using publickey authentication from Windows

I’m attempting to connect to a remote docker host (Ubuntu 16.04) from windows server 2008, all of this lives on AWS EC2. There is a requirement to run docker within a single EC2 instance, so I’m using a generic driver. I’m using a public key file (.pem) which works for ssh (from putty with extracting […]

Docker Compose not updating content

I have some containers running with docker compose but I just can’t find a way to properly update my containers without having to remove it and create it again. I have a Python app and I can successfully deploy code changes and those get applied, but if I add files like css, js or images […]

`docker service update` from remote server with cert

I want to update my docker stack automatically from my CI server but I don’t figure out how to configure credentials to be able to drive docker from an external host. I have enabled experimental mode on my server and it works fine in local with docker-machine. My deploy script look like this: echo $DOCKER_CERT […]

Unable to start docker service with error “Failed to start docker.service: Unit not found.”

I have installed docker with yum install docker. $ uname -a Linux caspgval4 3.10.0-229.20.1.el7.x86_64 #1 SMP Wed Nov 4 10:08:36 CST 2015 x86_64 x86_64 x86_64 GNU/Linux $ docker –version Docker version 1.12.6, build 3a094bd/1.12.6 $ docker info Cannot connect to the Docker daemon. Is the docker daemon running on this host? $ sudo systemctl status […]

Connect Docker Containers with remote debugger

I am trying to connect my docker containers with JConsole or JVisualVM. There are some articles I googled like Monitoring Java Applications Running Inside Docker Containers but that didn’t work for me. How can I connect them to my running container. I am using latest docker for mac, So I don’t have docker machine for […]

Running installer within docker file without user interaction

I’ve been trying to have a docker file setup where it can install a specific ODBC driver I need in an application. I use the following commands: RUN cd /tmp/./client1201/ RUN ./setup and it runs the installer without any problem. The issue is that It requires user input in order to proceed with some steps. […]

Unable to build docker image with error “shim error: docker-runc not installed on system”

I am trying to build a docker image from a Dockerfile but seeing error shim error: docker-runc not installed on system Here is my Dockerfile: FROM ubuntu RUN apt-get update \ && apt-get install -y build-essential \ && apt-get install -y libssl-dev libbz2-dev $ docker build -t ub . Sending build context to Docker daemon […]

Whether Docker machine necessary for Ubuntu,if not how to TCP a Ubuntu docker daemon?

I have installed docker on ubuntu machine to run docker on tcp in windows or mac machine we need docker-machine whereas in ubuntu it not necessary since it is already running on linux environment If this is the case consider i have an image as below ubuntu@ip-X-X-X-X:~$ sudo docker images REPOSITORY TAG IMAGE ID CREATED […]

docker hint: Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for

When I use command :docker pull ubuntu:16.04 I got this error: liudecai@my-ubuntu-server:~$ docker pull ubuntu:16.04 Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for FG3K6C3A15800021, not registry-1.docker.io I use Ubuntu Server 16.04 ,docker version is 17.03.1-ce docker information: Client: Version: 17.03.1-ce API version: 1.27 Go version: go1.7.5 Git commit: c6d412e Built: Mon Mar […]

Docker “not found” for existing file

I am using Docker to build an electron node app and I’m getting some odd behavior. The build seems successful but when I run the electron app I get a “not found” error but the file does exist. I can ls the file and cat the file but cannot source/execute the file. $ docker -v […]

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