docker-machine

Exception on reloading remote spring boot application with Intellij IDEA

血红的双手。 提交于 2019-12-04 09:44:14
I'm trying to setup remote spring-boot environment using spring devtools , docker and IntelliJ. All started with this article . Unfortunately it randomly fails with an exception. Below the configuration: Dockerfile FROM java:8 EXPOSE 8888 WORKDIR /app ADD build.gradle /app/build.gradle ADD gradlew /app/gradlew ADD gradle /app/gradle ADD src /app/src RUN ["chmod", "+x", "/app/gradlew"] docker-compose.yml backend: build: . env_file: environment ports: - "8888:8888" volumes: - ./.gradle-docker:/root/.gradle command: "/app/gradlew clean bootRun" links: - db db: image: postgres:9.5.3 env_file:

allow insecure registry in host provisioned with docker-machine

拜拜、爱过 提交于 2019-12-04 07:47:26
问题 Is there anyway to configure --allow-insecure-ssl for docker's deamon created with docker-machine. commands: docker-machine create --driver virtualbox dev eval "$(docker-machine env dev)" docker run myregistry:5000/busybox:latest echo 'hello world' output: Unable to find image 'myregistry:5000/busybox:latest' locally 2015/06/04 16:54:17 Error: v1 ping attempt failed with error: Get https://myregistry:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA

Docker Machine: No space left on device

余生长醉 提交于 2019-12-04 07:19:41
问题 I'm trying to set up Docker Machine with Docker Compose. Scenario 1 (without Docker Machine) If I run docker-compose up -d without Docker Machine, it creates my 3 linked containers as intented (nginx+mongodb+nodejs). Scenario 2 (with Docker Machine) Then I create a VM using Docker Machine and tell Docker to talk to that machine with eval $(docker-machine env streambacker-dev) . At this point, if I ssh to my docker machine and run df -h , I get: If I then run docker-compose up -d , I get a "no

mongodb connection refused docker-compose

半腔热情 提交于 2019-12-04 05:21:29
The dockerfile consists as:- FROM ruby:2.2.3-slim MAINTAINER Milan Rawal <milan@gmail.com> RUN apt-get update && apt-get install -qq -y build-essential nodejs libmagickcore-dev imagemagick libmagickwand-dev libxml2-dev libxslt1-dev git-core curl htop --fix-missing --no-install-recommends ENV INSTALL_PATH /air_scout RUN mkdir -p $INSTALL_PATH WORKDIR $INSTALL_PATH COPY Gemfile Gemfile RUN bundle install COPY . . RUN bundle exec rake RAILS_ENV=production SECRET_TOKEN=f6801f0744ff2e86b0baa542fc55075b5b79c922c518e34484cfe6a6c2149510973fa6c90d36c05907f8bf9114b6b33594f3630810b332ef3717b8b8f4f04b1f

Docker warning: failed to get default registry endpoint from daemon

故事扮演 提交于 2019-12-03 22:43:42
On Windows 10, when I call a docker command: docker pull mongo:windowsservercore I get the following output: Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.). Using system default: https://index.docker.io/v1/ When I docker-machine create default (default) Waiting for an

What is the difference between docker-machine and docker-compose?

烂漫一生 提交于 2019-12-03 15:54:17
问题 I think I don't get it. First, I created docker-machine: $ docker-machine create -d virtualbox dev $ eval $(docker-machine env dev) Then I wrote Dockerfile and docker-compose.yml: FROM python:2.7 ENV PYTHONUNBUFFERED 1 RUN mkdir /code WORKDIR /code ADD requirements.txt /code/ RUN pip install -r requirements.txt ADD . /code/ version: '2' services: db: image: postgres web: build: . restart: always command: python manage.py runserver 0.0.0.0:8000 volumes: - .:/code ports: - "8000:8000" links: -

Docker Machine

痴心易碎 提交于 2019-12-03 15:37:59
Docker Machine 是docker三剑客之一,可以快速的创建多台docker虚拟机 环境:我的环境是windows 10 安装的 VMware 里面安装的Centos7 一、VirtualBox 1、epel源、VirtualBox源 yum -y install epel-release cd /etc/yum.repos.d/ wget https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo 注:如果你是和我一样安装的mini版本 需要安装wget(-bash: wget: command not found) yum install -y wget 2、安装制定版本VirtualBox yum search virtualbox yum -y install VirtualBox-6.0 二、安装Docker Machine 可以到 https://github.com/docker/machine/releases 看到所有发布版本,我们这里安装Linux版本 curl -L https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-`uname -s`-`uname -m` >/tmp

Change file permissions in mounted folder inside docker container on Windows Host

谁说我不能喝 提交于 2019-12-03 15:27:25
Disclaimer/Edit 2 Some years later, for everyone reading this question - If you are on Windows and want to use docker with linux containers, I highly recommend not using docker for windows at all and instead starting the entire docker environment inside a VM altogether. This Ext3 NTFS issue will break your neck on so many different levels that installing docker-machine might not even be worth the effort. Edit: I am using docker-machine which starts a boot2docker instance inside a Virtualbox VM with a shared folder on /c/Users from which you can mount volumes into your containers. The

Failed to create the host-only adapter - windows 10, docker, virtualbox

寵の児 提交于 2019-12-03 12:27:53
I've recently run into this problem after having used docker toolbox without a problem for a while. Started happening after windows update? Windows 10 Home - 64 Uninstalled and reinstalled Docker toolbox Uninstalled and reinstalled various versions of VirtualBox Still get the same error Running pre-create checks... Creating machine... (default) Copying C:\Users\me\.docker\machine\cache\boot2docker.iso to C:\Users\me\.docker\machine\machines\default\boot2docker.iso... (default) Creating VirtualBox VM... (default) Creating SSH key... (default) Starting the VM... (default) Check network to re

docker-machine: no machine name, no “default” exists

左心房为你撑大大i 提交于 2019-12-03 10:30:02
问题 I downloaded and installed Docker for Windows 1.12.1 which in turn installed the docker-machine and docker-compose. I did not install "Docker Toolbox" since its a duplicate of what was installed and my system meets the requirements. Everything seems to work fine except for docker-machine, I'm running through a tutorial and when I run various docker-machine commands like "ip" or "env" I get the following message. Error: No machine name(s) specified and no "default" machine exists. So when I do