boot2docker

Docker (under boot2docker) does not look for/find local images when building

前提是你 提交于 2019-12-25 04:49:07
问题 I'm running Docker on OS X under boot2docker 1.3.1 I built myself an image, oceania/python : $ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE oceania/python 0.1 800229a896ff 16 hours ago 510.4 MB I have another Dockerfile now where I want to use FROM oceania/python When I try to build this image I get: Sending build context to Docker daemon 31.74 MB Sending build context to Docker daemon Step 0 : FROM oceania/python Pulling repository oceania/python 2014/11/20 17:23:51 Error:

Google app engine: IP of docker custom runtime container, node.js

会有一股神秘感。 提交于 2019-12-25 01:08:29
问题 This is related to the stackoverflow question here: Run Websocket on GAE . I am trying to run a version of mozilla's browserquest in a sandbox google custom runtime nodejs environment with boot2docker parameters as follows: docker version Client version: 1.5.0 Client API version: 1.17 Go version (client): go1.4.1 Git commit (client): a8a31ef OS/Arch (client): darwin/amd64 Server version: 1.5.0 Server API version: 1.17 Go version (server): go1.4.1 Git commit (server): a8a31ef I've controlled

Unable to connect to docker hub from China

被刻印的时光 ゝ 提交于 2019-12-23 15:44:38
问题 I'm getting the same thing every time trying to run busybox either with docker on fedora 20 or running boot2docker in VirtualBox: [me@localhost ~]$ docker run -it busybox Unable to find image 'busybox:latest' locally Pulling repository busybox FATA[0105] Get https://index.docker.io/v1/repositories/library/busybox/images: read tcp 162.242.195.84:443: i/o timeout I can open https://index.docker.io/v1/repositories/library/busybox/images in a browser and sometimes without using a vpn tunnel so

I have working with dockerfile to build and image and it build and run successfully but tomcat is not up

最后都变了- 提交于 2019-12-23 01:36:13
问题 I am using Dockerfile to build an image. Content of Docker file: FROM ubuntu # Update Ubuntu RUN apt-get update && apt-get -y upgrade # Add oracle java 7 repository RUN apt-get -y install software-properties-common RUN add-apt-repository ppa:webupd8team/java RUN apt-get -y update # Accept the Oracle Java license RUN echo "oracle-java7-installer shared/accepted-oracle-license-v1-1 boolean true" | debconf-set-selections # Install Oracle Java RUN apt-get -y install oracle-java7-installer #

Accessing apache2 residing inside Docker container from Host machine web browser

流过昼夜 提交于 2019-12-22 10:52:06
问题 I have been creating a webserver as Docker container and trying to access it outside the container. But I can't. What I am doing is. -Pulling a ubuntu image: docker pull ubuntu:14.04 -Starting a container: docker -t -i -p 49200:2375 [image-id] and after installing apache2 in newly started container I can ping the apache2 server inside container, I can also do curl and see results in container terminal, but no luck outside on host machine. I have tried many times. (I am using Virtual Box on

Boot2Docker for OS X fails to start

别来无恙 提交于 2019-12-22 07:22:12
问题 I am new to docker and I'm attempting to run boot2docker on my work computer. I'm logged in to the computer running OS X version 10.10.1 (Yosemite) with a user account that mounts the home directory from the office network. I installed Docker v1.4.1 from https://github.com/boot2docker/osx-installer/releases and VirtualBox 4.3.20 for OS X hosts from https://www.virtualbox.org/wiki/Downloads I followed the instructions on docker.com mac installation but I didn't get the supposed to be results.

Boot2Docker for OS X fails to start

廉价感情. 提交于 2019-12-22 07:22:08
问题 I am new to docker and I'm attempting to run boot2docker on my work computer. I'm logged in to the computer running OS X version 10.10.1 (Yosemite) with a user account that mounts the home directory from the office network. I installed Docker v1.4.1 from https://github.com/boot2docker/osx-installer/releases and VirtualBox 4.3.20 for OS X hosts from https://www.virtualbox.org/wiki/Downloads I followed the instructions on docker.com mac installation but I didn't get the supposed to be results.

How to increase the swap space available in the boot2docker virtual machine?

∥☆過路亽.° 提交于 2019-12-21 11:31:07
问题 I would like to run a docker container that requires a lot of memory on a machine that doesn't have much RAM. I have been trying to increase the swap space available for the container to no avail. Here is the last command I tried: docker run -d -m 1000M --memory-swap=10000M --name=my_container my_image Following these tips on how to check memory metrics I found the following: $ boot2docker ssh docker@boot2docker:~$ cat /sys/fs/cgroup/memory/docker

How to increase the swap space available in the boot2docker virtual machine?

纵然是瞬间 提交于 2019-12-21 11:31:07
问题 I would like to run a docker container that requires a lot of memory on a machine that doesn't have much RAM. I have been trying to increase the swap space available for the container to no avail. Here is the last command I tried: docker run -d -m 1000M --memory-swap=10000M --name=my_container my_image Following these tips on how to check memory metrics I found the following: $ boot2docker ssh docker@boot2docker:~$ cat /sys/fs/cgroup/memory/docker

Performing a npm install via Docker on a windows host

你。 提交于 2019-12-21 09:16:38
问题 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!