docker-machine

Docker-machine : ca.pem not found

随声附和 提交于 2020-01-13 10:42:28
问题 Here i am creating a test machine(dev) using the docker machine. $ docker-machine create -d virtualbox dev Creating CA: C:\Users\xxx\.docker\machine\certs\ca.pem Creating client certificate: C:\Users\xxx\.docker\machine\certs\cert.pem Creating VirtualBox VM... Creating SSH key... Starting VirtualBox VM... Starting VM... The vm gets created and runs with out flaws. And here is the error when i run the following command: $ docker-machine env dev open C:\Users\xxx\.docker\machine\machines\dev\ca

How to reduce default VM memory for Docker Linux containers on Windows

隐身守侯 提交于 2020-01-12 03:55:48
问题 Scenario Windows 10 Professional Docker 18.06.1-ce running in Windows container mode 4GB of available memory on host system using Hyper-V virtual machine Problem When trying to "switch to Linux containers" via Docker's taskbar item the process fails after a couple of seconds showing an error about "Not enough memory to start Docker". Since the host system does not have that much memory, I'd like to reduce the maximum amount of memory the global Docker machine is allowed to use (I think 2 GB

Volume binding using docker compose on Windows

一曲冷凌霜 提交于 2020-01-11 08:27:09
问题 I recently upgraded my Docker Toolbox on Windows 10, and now my volume mounts no longer work. I've tried everything. Here is the current mount path: volumes: - C:\Users\Joey\Desktop\backend:/var/www/html I receive an invalid bind mount error. 回答1: I think you have to set COMPOSE_CONVERT_WINDOWS_PATHS=1 , see here. Docker Machine should do it automatically: https://github.com/docker/machine/pull/3830 回答2: I faced with same issue (I'm using Docker Desktop). My steps were: 1) Place your folder

Troubles using docker-machine to setup Swarm

情到浓时终转凉″ 提交于 2020-01-10 02:12:40
问题 I have a problem with deploying local virtualbox based swarm - I have followed the instructions in the official docker documentation regarding setting up master/worker nodes using the docker-machine tool. I have created the token on dockerhub and used --swarm (and --swarm-master) with --swarm-discovery token://XXXX ... so far so good, two machines running, seemingly registered as the Swarm master and worker: spaceback@brutus:~$ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER

Troubles using docker-machine to setup Swarm

笑着哭i 提交于 2020-01-10 02:11:27
问题 I have a problem with deploying local virtualbox based swarm - I have followed the instructions in the official docker documentation regarding setting up master/worker nodes using the docker-machine tool. I have created the token on dockerhub and used --swarm (and --swarm-master) with --swarm-discovery token://XXXX ... so far so good, two machines running, seemingly registered as the Swarm master and worker: spaceback@brutus:~$ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER

Integrate two docker apps - Docker compose and Docker run

二次信任 提交于 2020-01-09 12:04:37
问题 I am trying to integrate two apps. Currently I have a docker-compose file with two services and another docker - run command to start another service. Based on my configuration below, I expect OHIF Viewer running at port 3030 and Orthanc running at 8042 to be interconnected. I mean if I upload an image in Orthanc, I should be able to see them in OHIF viewer. Currently I am able to view both Orthanc and OHIF viewer in their respective ports but I don't see any interaction between them. ex: I

Port forwarding in docker-machine?

一世执手 提交于 2020-01-09 03:01:04
问题 Since boot2docker is deprecated I've switched to docker-machine but I don't know how to open a port from docker-machine . In boot2docker I could do like this: boot2docker ssh -L 27017:localhost:27017 This would forward port 27017 from VirtualBox to localhost 27017 as long as the SSH connection is open. Note that I'm not looking for a way to open the port permanently in VirtualBox. How can I achieve this with docker-machine ? 回答1: You can still access the VBoxmanage.exe command from the

Slow network performance in Docker container

非 Y 不嫁゛ 提交于 2020-01-05 04:27:11
问题 I'm running the latest docker/ docker-machine on OSX Yosemite and VirtualBox and I'm trying to connect to a lein ring server running in a container from the host the loading is slow as in like Load time is over 1 min The following is my configuration Docker 1.12.0 Docker Machine 0.8.0 VirtualBox 5.0.24 My Docker Machine "ConfigVersion": 3, "Driver": { "IPAddress": "192.168.99.100", "MachineName": "default", "SSHUser": "docker", "SSHPort": 49478, "SSHKeyPath": "/Volumes/NASMAC/VMs/.docker

Xdebug can't connect back to Docker host

我怕爱的太早我们不能终老 提交于 2020-01-03 21:13:33
问题 I've just setup Docker on my machine & have an Nginx/PHP7 (FPM)/MySQL setup all working fine, but having installed Xdebug on the PHP container I can't get it to connect back to PHPStorm on my host machine. Here's my PHP Xdebug config… zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts- 20151012/xdebug.so xdebug.remote_log=/usr/local/var/log/xdebug.log xdebug.remote_enable=1 xdebug.remote_host=192.168.99.1 xdebug.remote_port=9000 xdebug.remote_connect_back=1 xdebug.remote_handler

Xdebug can't connect back to Docker host

时光毁灭记忆、已成空白 提交于 2020-01-03 21:13:01
问题 I've just setup Docker on my machine & have an Nginx/PHP7 (FPM)/MySQL setup all working fine, but having installed Xdebug on the PHP container I can't get it to connect back to PHPStorm on my host machine. Here's my PHP Xdebug config… zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts- 20151012/xdebug.so xdebug.remote_log=/usr/local/var/log/xdebug.log xdebug.remote_enable=1 xdebug.remote_host=192.168.99.1 xdebug.remote_port=9000 xdebug.remote_connect_back=1 xdebug.remote_handler