Tag: docker machine

How insert an existing EC2 instance as container host in docker-machine?

Using docker-machine in Windows 10 OS, I would like to insert an existing EC2 instance as containers host, and use this for host containers and networks created by docker-composer, but I did not find any tutorial or a full explaination about it, Therefore I have the following questions. Is it necessary install docker and run […]

Docker on windows 7: hello-world runs on Docker Quickstart Terminal but not on command prompt. why?

I haven’t been able to run hello-world on command prompt but on quickstart terminal it works. Why is that? Error message on command prompt: https://drive.google.com/file/d/0B0rw5s9roTIiWnpOM1JhVUNDZVU/view?usp=sharing In a broader context, I am trying to run Docker compose to set up a network but unsuccessful. So I figure understanding more about Docker would be helpful. Appreciate any […]

Unable to connect with container running in multiple host (Destination Host unreachable) [closed]

I am trying to perform docker multi host networking without swarm and using consul. Please find the machine and docker details below, cat /etc/redhat-release : CentOS Linux release 7.3.1611 (Core) uname -r : 3.10.0-327.18.2.el7.x86_64 $docker info Containers: 6 Running: 0 Paused: 0 Stopped: 6 Images: 6 Server Version: 17.06.0-ce Storage Driver: overlay Backing Filesystem: xfs […]

remove dlite from Mac

I am trying to use Docker for Mac instead of Docker toolbox, and I want to delete the dlite. However when I run $ dlite uninstall Removing virtual machine: ERROR! open /Users/user/.dlite/config.yaml: no such file or directory I use dlite version 2.0.0-beta9.

Package.json not found while running inside docker

I have a very simple website built by ExpressJS. I run Docker Quick Start terminal and go to the working directory. This is the result of ls command app.js bin/ node_modules/ package.json public/ routes/ views/ When I issue the command below, I get “No such file or directory” error: docker run -p 8080:3000 -v $(pwd):/var/www […]

How to add 3rd party jar to maven container docker

Hi i have developed a Java application which will take data from MsSql DB and push this data to Salesforce account. I have created this project as Maven project. The Jars used for Sql and salesforce are local one. I have installed locally using mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \ -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> And able to […]

Share SSH Key to Docker Machine

I have an exisiting VM with docker installed (CoreOS) and I can connect to docker with the following powershell command. docker-machine create –driver generic –generic-ip-address=$IP –generic-ssh-key=$keyPath –generic-ssh-user=user vm docker-machine env vm | Invoke-Expression # Set Environment Variables Everything worked fine. I was able to build and run containers. Then I told my build server to […]

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 Openport.io 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 openport.io. The problem Assume the Docker host […]

Docker compose wait for without sleep command

I’ve read lots for similar topics; For example this: Docker Compose wait for container X before starting Y etc. So, I’m trying to implement a wait for only using compose and health checks. I have only one docker-compose file. There is a section for the app and for test for this app. Test (service) can […]

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