Questions tagged [docker]

Docker is an open source project that automates the deployment of applications inside software containers.

Docker is an open source project that automates the deployment of applications inside software containers. Docker extends a common container format called Linux Containers (LXC), with a high-level API providing a lightweight virtualization solution that runs processes in isolation. Docker utilizes LXC, cgroups, and the Linux kernel itself. Unlike traditional virtual machines, a Docker container does not include a separate operating system, instead it relies on the operating system’s functionality provided by the underlying infrastructure.

4147 questions
1
vote
1 answer

Shared folder between two docker containers

I would like to share a folder from a docker container1 to a docker container2, without any persistence. Sharing this folder with the host is not necessary. I read that there is a volume_from option that allow to do this kind of thing, but it seems…
1
vote
2 answers

Loadimpact/k6: Docker container exiting with script as input

We are experimenting with loadimpact - k6 docker image and we wanted to run task for the longer period of time. The issue which we were facing is the container is exited if the ssh connection is timing out. Command: docker run -i loadimpact/k6 run…
mohit
  • 191
  • 1
  • 9
1
vote
0 answers

Why does my Docker container eventually lose network connection during selenium testing?

I was given a couple of Docker images for my automated testing on MacOS -- one for mitmproxy (as provided by that third party), the other supports the python/selenium tests I wrote earlier (this image includes Chrome and the necessary…
HalJor
  • 11
  • 3
1
vote
1 answer

docker run can't find software parameter

I used the below command but for some reasons, it can't find the parameter. $ ls lachesis.ini lachesis.ini $ docker run -it 5071f1ab27a0 /usr/local/bin/Lachesis lachesis.ini RunParams is parsing INI file at lachesis.ini ERROR: Can't find file…
user977828
  • 225
  • 1
  • 6
  • 15
1
vote
3 answers

Docker inside LXC starting container process caused "apply caps: operation not permitted"

I'm trying to run a Docker container inside an LXC container. However doing so causes me to get the following error: [root@DH-DockerLXC01 alex]# docker run fedora bash docker: Error response from daemon: OCI runtime create failed:…
Alex
  • 389
  • 9
  • 23
1
vote
1 answer

Docker-compose stop does not stop all containers

I have a test rails 5.2.2 app running in docker and reports no errors in console but when I run docker-compose stop there is 1 container which doesn't stop. My o/s is macos running Docker for Mac. The container which doesn't stop is…
markhorrocks
  • 513
  • 3
  • 10
  • 26
1
vote
0 answers

fsync-intensive Docker application mysteriously much slower

I have an application that is very fsync intensive. When I run it on a traditional VM the application is quite slow. When I run it in a Docker container on CoreOS it gets much faster, by at least a factor of 10. At least, until recently. Sometime…
user35042
  • 2,681
  • 12
  • 34
  • 60
1
vote
2 answers

Should I be running docker bridge0 on the same subnet as my docker host?

I have decided to run some docker containers on my home net using a custom (user-defined) bridge interface. I gave the bridge a static IP on the same network as my docker host. The docker host's eth0 has: 192.168.10.20/24 while the docker bridge0 is…
mr.zog
  • 923
  • 3
  • 20
  • 39
1
vote
0 answers

private docker registry tls authentication with AWS ACM

I have a private docker registry, which uses the domain.crt and domain.key for tls authentication, but few days before keys expired. Now i want to us AWS ACM certificate for the TLS. Problem is that AWS do not provide certificate's private key so is…
1
vote
1 answer

Accessing Docker containers by their domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than an B's ip address or domain name from computer C…
Kendall
  • 247
  • 2
  • 4
  • 13
1
vote
1 answer

Ping public ipv6 dns from docker container

The docker container is running on a VPS (ubuntu 18.10). What I am able to do: ping -6 2001:4860:4860::8888 from host machine ping -6 from docker container ping 8.8.8.8…
elp
  • 167
  • 1
  • 1
  • 11
1
vote
0 answers

Docker : Route trafic from openvpn server to openvpn client

Networking is still black magic for me and i'm trying to route the traffic from my openvpn server in docket to my openvpn client also in docker. I'm trying to achieve this : My computer --> VPN --> (docker openvpn server) My server (docker…
Vafanass
  • 11
  • 3
1
vote
1 answer

What is the advantage of having a dedicate docker container for mounting volume?

docker run has a flag --volumes-from which allows you to mount a volume from another container. I see that people create a dedicate container just for the sake of providing a volume for another container. Is this an anti-pattern and the…
LxL
  • 113
  • 2
1
vote
1 answer

docker-ce worked on CentOS 7 VPS but no longer works

In middle of September I've rented CentOS 7 VPS, installed docker-ce from stable repo there, according to the docs and all was fine. Today I've realized that docker daemon doesn't working. I've failed to start it with # systemctl start docker and…
Storm
  • 123
  • 5
1
vote
2 answers

helm install a chart and give parameters to the depencie chart

I am trying to use the chart stable/mcrouter for memcache sharding, everything works, but this chart uses a memcache chat as dependencie. I would like to know if I can pass parameters to memcache chart, this is the dependencies file:…
c4f4t0r
  • 5,301
  • 3
  • 31
  • 42