boot2docker

Performing a npm install via Docker on a windows host

可紊 提交于 2019-12-21 09:16:02
问题 I'm trying to create a docker dev tools container for a devlopement environment on a windows host via docker toolbox but I have some trouble running the npm install command. It worked fine on a linux host but on the windows host I got the following error : npm ERR! Linux 4.1.13-boot2docker npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v5.5.0 npm ERR! npm v3.3.12 npm ERR! path /var/www/site/.npm/gulp/3.9.0/package.tgz.e87c24357cd6065ee71ce44c6f23673b npm ERR!

What's the fastest way to migrate from boot2docker to Vagrant+NFS on Mac OS X?

寵の児 提交于 2019-12-21 04:39:20
问题 I have a database container built from the official mysql docker pull mysql . I have a front-end app app built with Cake. I have a back-end app cms built with Symfony. I have container linking set up for both app and cms to start and connect automatically to db . Everything works great but it's super slow with boot2docker. I've been trying to understand how to use Vagrant with NFS. There's a few different tutorials and examples online, but so far I've been unable to get going. I have

Understanding docker from a layman point of view

房东的猫 提交于 2019-12-21 02:54:31
问题 I am just one day old to docker , so it is relatively very new to me . I read the docker.io but could not get the answers to few basic questions . Here is what it is: Docker is basically a tool which allows you to make use of the images and spin up your own customised images by installing softwares so that you can use to create the VMs using that . Is this what docker is all about from a 10000 ft bird's eye piont of view? 2 . What exactly is the meaning of a container ? Is it synonymn for

Keep getting Could not read CA certificate when trying to start docker

梦想的初衷 提交于 2019-12-20 19:17:27
问题 I am attempting to migrate from boot2docker to docker-machine. I followed the directions here to install docker but I keep getting the following message: Could not read CA certificate "/Users/<useraccountfolder>/.boot2docker/certs/boot2docker-vm/ca.pem": open /Users/<useraccountfolder>/.boot2docker/certs/boot2docker-vm/ca.pem: no such file or directory when I run most any docker command. 回答1: I found my solution here I needed to update my .bash_profile to look like: export DOCKER_HOST=tcp:/

How to ignore certificate errors in Boot2Docker on windows

只谈情不闲聊 提交于 2019-12-20 09:47:38
问题 I have boot2docker 1.4.1 running on windows via virtualbox. I am behind a proxy that MITMs https certificates. I configured proxy by adding the following lines in /var/lib/boot2docker/profile : export HTTP_PROXY=<proxyhost>:80 export HTTPS_PROXY=<proxyhost>:80 DOCKER_TLS=no EXTRA_ARGS="--insecure-registry index.docker.io" however when I run docker@boot2docker:~$ docker run hello-world I get Unable to find image 'hello-world:latest' locally Pulling repository hello-world FATA[0006] Get https:/

How to deploy Dockerfile and application files to boot2docker

不羁的心 提交于 2019-12-20 09:26:56
问题 I'm just starting to learn Docker, and I'm trying to get a simple setup with boot2docker on Windows. I could not find in any tutorial or samples online how to make my project files accessible to the boot2docker VM. I downloaded boot2docker, and succeeded in installing it and getting it up and running. I can also ssh into it and run the hello world docker example, so I know I have a working Docker installation in the VM. Now, the question : How do I get my Dockerfile and my application files

How to fix “error in run: Failed to get machine ”boot2docker-vm“: machine does not exist”?

谁说胖子不能爱 提交于 2019-12-20 09:15:17
问题 Running boot2docker with the start | info | stop | delete arguments result in an error message: snowch$ boot2docker start error in run: Failed to get machine "boot2docker-vm": machine does not exist snowch$ boot2docker info error in run: Failed to get machine "boot2docker-vm": machine does not exist snowch$ boot2docker stop error in run: Failed to get machine "boot2docker-vm": machine does not exist snowch$ boot2docker delete error in run: Failed to get machine "boot2docker-vm": machine does

docker on windows not working

两盒软妹~` 提交于 2019-12-20 04:22:29
问题 I have tried installing docker on windows 7 (using boot2docker). However the console just exists abruptly and I am unable to see the error, much less run any commands. In the installation I have tried both installing and not installing the VirtualBox. I have also tried un-installing and re-installing both docker and virtualbox. Nothing seems to work. Here are the console errors I see when I run boot2docker -v up : Boot2Docker-cli version: v1.3.0 Git commit: deafc19 2014/10/26 20:47:11

docker does not run on windows error

五迷三道 提交于 2019-12-19 09:59:16
问题 I've installed docker and followed the directions here: https://docs.docker.com/installation/windows/#installation but when I run boot2docker start this happens: Trying to get IP one more time exit status 255 Docker client does not run on Windows for now. Please use "boot2docker" ssh to SSH into the VM instead Trying boot2docker ssh results in the same 255 error. I tried to get the VM IP with boot2docker IP but that also yielded nothing - I presume because boot2locker wasn't successful in the

Forward Ports from boot2docker using the Vagrant Docker provider

走远了吗. 提交于 2019-12-18 13:19:22
问题 I'm trying to utilize Vagrant 1.6's Docker provider and I seem to have run into a snag. I can successfully bring up the Docker container and guest OS, but then I can't access the service I've brought up within the container from the host OS. Here's my Vagrantfile: VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.network :forwarded_port, guest: 8000, host: 8000 config.vm.define "icecast" do |v| v.vm.provider "docker" do |d| d.image = "moul/icecast"