Questions tagged [docker-container]

Docker Containers are the core of the docker platform in which programs and applications can be packaged and run in simulated environments.

Docker containers are the core of the docker program in which programs and applications can run in simulated environments.

These containers serve as a way to simulate code that would otherwise cause irreversible changes to a systems hardware. The difference between this and a virtual machine is that the docker container does not run code on the same level as the virtual machine on top of the fact that it is a lot more portable.

Docker containers can be loaded with any type of environment, even your currently used machine, or serve as simple tool boxes for your file sytems.

For more info, see the official documentation of a docker container.

1187 questions
0
votes
1 answer

MySQL service inside docker container not working in macOS Sierra 10.12.6

I was forced to reinstall macOS Sierra because I was in the beta program for High Sierra and I get a serious crash so I downgraded the system. This Dockerfile was working in High Sierra before the sudden crash of the system. FROM…
xmarston
  • 853
  • 3
  • 12
  • 36
0
votes
0 answers

Docker container w multiple processes (Tensorboard and Jupyter Notebook

I am trying to get tensor board an jupyter notebook to run in one container on two separate ports, 6006 and 8888, while also including tensor flow and keras. I've used this command: docker rm -f keras; docker run --name keras -v DIR:/notebooks -p…
Rafael
  • 1
0
votes
1 answer

Docker flow for updating images with latest version of application

Our production/staging docker image build pulls the latest code from our repository and then it installs all required dependencies, this process takes a while. This is why for development we are using a volume to map the application code to a local…
ZaphodBBx
  • 111
  • 1
  • 9
0
votes
1 answer

Could not find docker container on link

I'm trying to create a docker container 'bar_foo' on node1.com that links to another container on another node 'foo_bar:node2.com'. The problem is i'm getting error. "Could not get container for foo_bar" i've made sure that the foo_bar container…
A.Jac
  • 1,443
  • 3
  • 17
  • 24
0
votes
1 answer

Riak container does not start when its data volume is mounted

The following command works perfectly and the riak service starts as expected: docker run --name=riak -d -p 8087:8087 -p 8098:8098 -v $(pwd)/schemas:/etc/riak/schema basho/riak-ts The local schemas directory is mounted successfully and the sql…
B Faley
  • 17,120
  • 43
  • 133
  • 223
0
votes
2 answers

Why exited docker conatiner are not getting removed?

File name: dockerHandler.sh #!/bin/bash set -e to=$1 shift cont=$(docker run -d "$@") code=$(timeout "$to" docker wait "$cont" || true) docker kill $cont &> /dev/null docker rm $cont echo -n 'status: ' if [ -z "$code" ]; then echo timeout else …
0
votes
1 answer

getting python and react component based container to work

I am attempting to dockerize this workflow of isomorphic app. I build the container of below docker file. FROM python:3.5-slim RUN apt-get update && \ apt-get -y install gcc mono-mcs && \ apt-get -y install vim && \ apt-get -y…
Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197
0
votes
1 answer

How to run a python-flask container on Mac OS?

I followed some online Docker tutorial and I wrote this Dockerfile: FROM python:3.5-slim WORKDIR /opt COPY requirements.txt /opt/requirements.txt RUN pip install -r /opt/requirements.txt COPY hello.py /opt/hello.py EXPOSE 5000 CMD ["python",…
Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197
0
votes
1 answer

Spring boot app location inside docker container

Is it possible to see deployed spring-boot jar contents(files) in docker container. If yes, where is the location. I connect using docker exec -it container /bin/bash, could not find files though.
Amit
  • 451
  • 1
  • 6
  • 19
0
votes
1 answer

Docker Container(Dockerfile from other image) immediately exit - It is all about Dockerfile not command

I am trying to run Redmin via docker. Here is what I am going to do Copy redmine:latest docker image to custom image Do some extra setting and make a container Run the custom docker container So I made Dockerfile like FROM redmine CMD ["echo",…
Juneyoung Oh
  • 7,318
  • 16
  • 73
  • 121
0
votes
1 answer

What is the difference of docker and docker.io in ubuntu apt repository?

What is the difference between docker and docker.io in ubuntu apt repository ? I know docker.io means docker daemon. However, does "docker" have any role?
m-masa
  • 228
  • 1
  • 9
0
votes
1 answer

How to get the name of a Docker container using JavaScript?

I hope someone will be able to help me. I'm using Dockerode to make actions on my Docker containers via JavaScript. I have some hard times to get the name of a single container. The request is "get the name of the container who has the id XXX" but I…
user7824439
0
votes
2 answers

Start mysql automatically when running a Docker container

I have created a Dockerfile to have a development environment on my computer with php7, mysql and some other library. The apache service starts automatically when a run the container but I can't get the same results with mysql. The last sentence of…
xmarston
  • 853
  • 3
  • 12
  • 36
0
votes
1 answer

Executing Symfony Composer Update in Docker-Compose Results in Cache Error

I'm using docker containers for my Symfony project. I already updated my composer.json, and I tried to download new vendors by executing this: user@pc1:~/workspace/project$ docker-compose run -u 1000 --rm --no-deps composer update Cannot create…
0
votes
1 answer

Simple docker container fails to run with no indication

This is the contents of my dockerfile: FROM debian:jessie RUN mkdir -p /var/www/html && \ mkdir -p /var/log && \ mkdir -p /var/lib/mysql && \ mkdir -p…
Ree
  • 863
  • 2
  • 18
  • 38