Questions tagged [docker-engine]

Docker Engine runs on Linux to create the operating environment for your distributed applications.

At the core of the Docker platform is Docker Engine, a lightweight runtime and robust tooling that builds and runs your Docker containers. Docker Engine runs on Linux to create the operating environment for your distributed applications. The in-host daemon communicates with the Docker client to execute commands to build, ship and run containers.

See official website for details.

108 questions
32
votes
13 answers

docker-ce : Depends: libseccomp2 (>= 2.3.0) but 2.2.3-3ubuntu3 is to be installed

I'm installing Docker on my Ubuntu machine and I'm following this tutorial Install Docker Engine on Ubuntu When I run sudo apt-get install -y docker-ce it does not install Docker on my machine and is giving the following error: $ sudo apt-get…
Muhammad Ateek
  • 1,057
  • 3
  • 14
  • 24
21
votes
3 answers

How to share volumes across multiple hosts in docker engine swarm mode?

Can we share a common/single named volume across multiple hosts in docker engine swarm mode, what's the easiest way to do it ?
vivekyad4v
  • 13,321
  • 4
  • 55
  • 63
15
votes
3 answers

docker deploy won't publish port in swarm

I've got a swarm set up with a two nodes, one manager and one worker. I'd like to have a port published in the swarm so I can access my applications and I wonder how I achieve this. version: '2' services: server: build: . image:…
Oldek
  • 2,679
  • 5
  • 23
  • 25
9
votes
2 answers

`docker start` in parallel?

I'm spinning up 1000 containers on a single Docker network, all from the same Docker image. Currently it takes a long time to deploy. I've separated the process into docker create and docker start, as opposed to the monolithic docker run. Is there…
A T
  • 13,008
  • 21
  • 97
  • 158
8
votes
2 answers

How to install Docker on Amazon linux 2023?

I am trying to install docker engine on amazon linux 2023 using the docker ce repo with no luck. i tried to install Docker on amazon linux 2 using the "amazon-linux-extras" but its no longer available on AL2023 even though it was on AL2.
8
votes
2 answers

Why are Docker multi-architecture needed (instead of the Docker Engine abstracting the differences)

Short version I would like to know the technical reasons why do Docker images need to be created for multiple architectures. Also, it is not clear whether the point here is creating an image for each CPU architecture or for an OS. Shouldn't the OS…
Rafael Eyng
  • 4,720
  • 2
  • 33
  • 34
8
votes
4 answers

Cannot install Docker on Debian Jessie

Despite trying both the official installation mechanism using the new apt repo described here, as well as the curl -fsSL https://get.docker.com/ | sh route, I still get E: Unable to locate package docker-engine from APT when I try to apt-get install…
Alex
  • 8,093
  • 6
  • 49
  • 79
7
votes
1 answer

how to run docker commands inside jenkins pipeline jobs

In my Manage Jenkins > Global Tool Configuration, i have already configured a tool called "docker" as follows: name: docker install automatically: CHECKED docker version: latest Then all I have in my jenkinsfile is the…
Rakib
  • 12,376
  • 16
  • 77
  • 113
6
votes
1 answer

Why to chose role as worker for nodes in docker swarm clusters at all?

Lets say we have a test setup of 10 nodes, 4 managers and 6 workers. When the leader manager fails, the other 3 managers will chose another manager as leader. When this leader as well fails, we only have 2 managers left out of 4. The other managers…
Cravid
  • 653
  • 2
  • 7
  • 22
6
votes
3 answers

How to link docker images to their composing layers on the disk?

Since Docker v1.10, with the introduction of the content addressable storage, Docker has completely changed the way image data are handled on the disk. I understand that now layers and images are separated. Layers merely become collections of files…
Ruifeng Ma
  • 2,399
  • 1
  • 22
  • 40
5
votes
0 answers

How to get consistent execution times in Docker containers

I am using Docker to isolate a specific process. This process is run repeatedly a number of times on a multi-core virtual machine. Each execution time is measured by its wall clock time and recorded. I'm looking to get time differences smaller than…
Stefan Zhelyazkov
  • 2,599
  • 4
  • 16
  • 41
5
votes
1 answer

Docker connect to remote daemon via ssh - Permission denied (publickey)

I have a problem with connecting to my remote(DigitalOcean) docker engine. What I've done is Made a droplet with Docker 19.03.12 on Ubuntu 20.04. Made a new user myuser and add to docker group on the remote host. Made a .ssh/authorized_keys for…
tkircsi
  • 315
  • 3
  • 14
5
votes
2 answers

Logging with Docker and Kubernetes. Logs more than 16k split up

I am using Docker version 17.12.1-ce Kubernetes verision v1.10.11 My application prints the log in Json format to the console. One of the fields is stackTrace, which can include a huge stackTrace. The problem is that the log message is split up…
liotur
  • 809
  • 2
  • 17
  • 36
5
votes
2 answers

unhealthy docker container not restarted by docker native health check

I have implemented docker native health check by adding HEALTHCHECK command in Docker file as shown below, HEALTHCHECK --interval=60s --timeout=15s --retries=3 CMD ["/svc/app/healthcheck/healthCheck.sh"] set the entry point for the container CMD…
Sreekanth R
  • 125
  • 1
  • 13
5
votes
1 answer

How to make docker containers talk to a non-dockerized application?

I have a situation where docker containers have to talk to a non-dockerized application and docker containers in other host. Let's say there are three servers A, B and C. Server A has two docker containers running JBoss App Server containers. Server…
CK5
  • 1,055
  • 3
  • 16
  • 29
1
2 3 4 5 6 7 8