boot2docker Questions

3

Solved

I am using docker compose and this is my yaml file web: dockerfile: Dockerfile-dev build: . command: gulp volumes: - .:/app ports: - '9001:9001' and here is my docker file FROM node:0.12...
Marilumarilyn asked 23/10, 2015 at 7:45

5

Solved

I have created a docker volume "hello" and it contains some data . How can I copy the data to host ? First : kerydeMacBook-Pro:~ hu$ docker volume create --name hello hello checking : ke...
Bistre asked 15/2, 2016 at 9:55

6

Solved

I'm new to docker. I'm trying to create a MongoDB container and a NodeJS container. My file looks: version: '2' services: backend: image: node:5.11-onbuild ports: - "3001:3001" volumes: - .:...
Impediment asked 10/1, 2016 at 22:41

5

Solved

I am using windows and have boot2docker installed. I've downloaded images from docker hub and run basic commands. BUT How do I take an existing application sitting on my local machine (lets just sa...
Sexless asked 25/8, 2014 at 18:37

9

Solved

I'm trying to launch container using docker-compose services.But unfortunetly, container exited whith code 0. Containers is build thanks to a repository which is from a .tar.gz archive. This archiv...
Peyton asked 3/7, 2017 at 11:45

6

Solved

I'm trying to run a container that will expose a golang service from a package that I have on a private GitHub repo. Since I am working with GCE, my starter image is google/debian:wheezy. After...
Imprint asked 2/10, 2014 at 13:6

6

Solved

I am very new to the docker when try to run docker info it gives me following error. $ docker info FATA[0000] Get http:///var/run/docker.sock/v1.17/info: dial unix /var/run/docker.sock: no such fi...
Ruelas asked 30/3, 2015 at 14:38

25

Solved

I use docker logs [container-name] to see the logs of a specific container. Is there an elegant way to clear these logs?
Impossibility asked 28/2, 2017 at 13:25

14

My question is related to this question on copying files from containers to hosts; I have a Dockerfile that fetches dependencies, compiles a build artifact from source, and runs an executable. I al...
Cavender asked 13/8, 2014 at 17:9

4

Solved

This stuff is really getting confused now. Can someone please explain what's going on. Just the straight one liner difference. dockerd libcontainerd containerd docker-containerd docker-runc docke...
Pinwork asked 9/10, 2017 at 15:7

8

I have written a Dockerfile which looks like this FROM ubuntu:12.04 RUN apt-get update RUN apt-get install -y wget Now I'm having a file called abc.txt in my host machine. How can I copy it to ...
Issue asked 26/5, 2015 at 9:46

14

Solved

I am new to docker. I have a shell script that loads data into impala and I want a docker file that runs builds an image and run the container. I am on mac, installed boot2docker and have the DOCKE...
Handgrip asked 18/8, 2014 at 22:4

7

Solved

I just built the redis docker instance $ docker pull redis After which I ran it like this. $ docker run --name=redis --detach=true --publish=6379:6379 redis I get the following $ docker ps ...
Barbellate asked 12/11, 2015 at 16:5

12

Solved

I have been reading up and learning about Docker, and am trying to correctly choose the Django setup to use. So far there is either: Docker Compose or Dockerfile I understand that Dockerfiles are u...

4

I am working on a task that involves building a docker image with centOs as its base using a Dockerfile . One of the steps inside the dockerfile needs http_proxy and https_proxy ENV variables to be...
Quibbling asked 3/7, 2015 at 5:1

10

Solved

I am using OS Ubuntu 16.0.4 and i installed minikube on it. I need to copy some files to minikube, so how can i do that? I tried next command but it asked me on password and i don't know it scp /m...
Ellipsoid asked 7/9, 2017 at 0:57

4

Solved

I'm in the process of attempting to containerize our development environment with docker. This includes a mix of Google Appengine projects as well as services that are being eventually hosted in Go...
Ariminum asked 24/3, 2015 at 16:59

5

Solved

Mounting a Docker volume while being under a Windows host, has been a huge pain for me, and I could not get it to work. Currently I got the following simple Dockerfile: FROM php:5-apache RUN apt-...
Fauman asked 10/2, 2016 at 12:58

2

I've always just used boot2docker ssh and in that I'd run docker exec -it container bash and it would work fine. Now I'm using the new windows client and while docker exec -it container bash w...
Wulfe asked 4/6, 2015 at 2:38

6

Solved

I am trying to run a certain application in windows that uses docker. Since the application is a shell script, I use the cygwin terminal. As am new to docker, I dont have a clear Idea as to how it ...
Andrew asked 7/1, 2015 at 13:9

3

Solved

I'm using a Dockerfile to build my image and I have a command in there that says: RUN sysctl -w net.ipv4.route.flush=1 but it fails to build the image with the following error: Step 20 : RUN sy...
Orthopedic asked 8/5, 2014 at 9:16

27

I am trying to mount a host directory into a Docker container so that any updates done on the host is reflected into the Docker containers. Where am I doing something wrong. Here is what I did: k...
Corneliacornelian asked 3/5, 2014 at 1:12

7

While running sudo docker pull centos it gives connection time out, While it is running behind proxy where the proxy has been set http_proxy & https_proxy. What is the reason apart from p...
Catie asked 11/11, 2014 at 9:20

5

I tried this on my Windows 10 machine: Dockerfile: From microsoft/nanoserver CMD ["echo", "Hello World"] PS C:\FSD\Docker\Trial1> docker build -t lea/leatest . Sending build context to Dock...
Parliament asked 11/4, 2017 at 12:56

6

How does one get the size of a Docker image before they pull it to their machine?
Lawrenson asked 26/10, 2015 at 18:20

© 2022 - 2024 — McMap. All rights reserved.