docker-machine

Minikube hangs on the “Starting VM” step

穿精又带淫゛_ 提交于 2020-08-26 06:59:57
问题 Hi yet once again my beloved community. My v0.33.1 minikube hangs on the "Starting VM..." step. I am using Windows 10 and a HyperV vm underneath. I am running my cluster with the following command: minikube start --kubernetes-version="v1.10.11" --memory 4096 --vm-driver hyperv --hyperv-virtual-switch "HyperV Switch" and my Docker is: Version 2.0.0.3 (31259) Channel: stable Build: 8858db3 The VM underneath goes up but its CPU eventually falls down to 0% usage and it just stalls. Kubectl hangs

What is the workflow for updating a rails app in AWS EC2 via Docker with docker-machine?

半腔热情 提交于 2020-07-09 19:36:57
问题 I'm new to Docker, and am trying to understand the workflow for updating my app in AWS, after it's live. For now, the rails app and MySQL database are both on the same EC2 instance. Here's what I'm doing to get the app live: I have a dockerfile a docker-compose.yml file that define the services. The rails application source is linked to the app container with a bind mount in docker-compose.yml: app: ... volumes: - $PWD:/zhxword When I'm ready to deploy, I run: docker-machine create --driver

What is the workflow for updating a rails app in AWS EC2 via Docker with docker-machine?

主宰稳场 提交于 2020-07-09 19:34:42
问题 I'm new to Docker, and am trying to understand the workflow for updating my app in AWS, after it's live. For now, the rails app and MySQL database are both on the same EC2 instance. Here's what I'm doing to get the app live: I have a dockerfile a docker-compose.yml file that define the services. The rails application source is linked to the app container with a bind mount in docker-compose.yml: app: ... volumes: - $PWD:/zhxword When I'm ready to deploy, I run: docker-machine create --driver

Docker for Mac VM IP

假如想象 提交于 2020-07-02 06:06:15
问题 I just migrated to using Docker for Mac, from previously using Docker Toolbox with virtualbox for OSX. I used to get the machine IP address with $(docker-machine ip default) . Is there a reliable way to get the Hyperkit IP address? Thanks! 回答1: There's no need for working with the xhyve VM's IP address directly like you would with docker-machine . All port mappings are directly mapped to localhost . $ docker run -d -p 8080:80 nginx:latest $ curl localhost:8080 Also see the official

installed the docker from binaries + docker startup

非 Y 不嫁゛ 提交于 2020-05-17 05:56:07
问题 we installed the docker from binaries as the following ( according to https://docs.docker.com/engine/install/binaries/ ) wget https://download.docker.com/linux/static/stable/x86_64/docker-17.03.0-ce.tgz --2020-05-06 20:39:22-- https://download.docker.com/linux/static/stable/x86_64/docker-17.03.0-ce.tgz Resolving download.docker.com (download.docker.com)... 13.225.249.16, 13.225.249.45, 13.225.249.106, ... Connecting to download.docker.com (download.docker.com)|13.225.249.16|:443... connected.

How to change “default” docker-machine's dns settings

烈酒焚心 提交于 2020-04-29 06:09:12
问题 I know how to create a new docker-machine with dns settings docker-machine create -d virtualbox --engine-opt dns=8.8.8.8 my_machine But there is already a "default" virtualmachine so is there a way to change its dns? I read online ways to do this with boot2docker, but that tool is deprecated and docker-machine has replaced it. Unfortunately, it's so new that I haven't found much online about this. 回答1: Go to ~/.docker/machine/machines/default/config.json and add your own DNS server into

Run jenkins agent in docker container, issue with jenkins pipeline and /var/run/docker.socket

旧街凉风 提交于 2020-04-16 03:20:32
问题 I've created image that use for jenkins agent slave Here it is: https://hub.docker.com/r/kondaurov/jenkins_agent/~/dockerfile/ Than i run it: docker run -d -p 2222:22 --name=jenkins_agent -v /var/run/docker.sock:/var/run/docker.sock -v kondaurov/jenkins_agent Then i create new node in jenkins and it connects successfully via ssh I try to run this pipeline: pipeline { agent { docker { label 'agent01' image 'hello-world' } } stages { stage('Compile') { steps { sh 'whoami' sh 'echo $PATH' } } }

Connect with ssh to docker daemon on Windows

こ雲淡風輕ζ 提交于 2020-04-08 05:39:10
问题 I installed Docker Desktop for Windows on Windows 10 with https://docs.docker.com/docker-for-windows/install/#install-docker-for-windows. It not uses VirtualBox and default VM to host docker. I am able to run containers but how I connect to a docker with ssh? docker-machine ls does not show my docker host. Tried to connect to docker@10.0.75.1 but it requires password. And tcuser that used for boot2docker VM not matching: ssh docker@10.0.75.1 Could not create directory '/home/stan/.ssh'. The