Questions tagged [docker]

Docker is a container engine for developing, managing, and running OCI containers for applications. Use this tag for questions on how to build and run container images, as well as how to properly configure Docker containers.

Docker provides a suite of tools to build, ship, and run distributed applications in containers, using the default Linux container runtime (containerd).

The base for a Docker container is an image with a complete filesystem for the target application, including the required environment, settings etc.

Docker images can be customized or build from scratch using a dockerfile. When the image is run with Docker, it is contained in its own runtime environment in a container. During the lifecycle of the container, any changes to the images are written as an overlay filesystem (overlayfs).

Since images are static, and containers use the kernel of the host system, Docker containers are extremely efficient, and it only takes a few seconds to start a new instance of Ubuntu or any other distribution with Docker.

There is a huge number of ready-to-use containers available in the Docker HUB.

Official Docker documentation.

1287 questions
-1
votes
2 answers

Is using ubuntu19.04 tag safe for production environment

Is using Ubuntu 19.04 or 18.10 tag safe for production environment as we can see that the relevant docker image gives zero vulnerabilities for it on quay. Would having no LTS support for it cause any security issues?
-1
votes
3 answers

Docker image missing after reboot PC

I am working with this docker file; https://github.com/gioargyr/docker-kr-suite After I connected docker repository one time i rebooted PC and it has gone. How I can make it permanent. Thanks for your help.
fury
  • 29
  • 2
  • 8
-1
votes
1 answer

apt-get update fails on 17.04

Running this very simple Dockerfile FROM ubuntu:17.04 RUN apt-get update fails with these errors: W: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does not have a Release file. W: The repository…
-2
votes
0 answers

What's the mechanics behind "transport: Error while dialing: only one connection allowed" error message in docker log?

As I got from the internet, it sporadically appears and disappears, but could not find any explanations as to why and when it happens. Personally, I started paying attention to this message after a disk full event in a skillsbench/benchflow setup…
-2
votes
4 answers

getting error while creating kubernetes repositories

welcome@SSPLLTIT018:~$ sudo apt update Hit:1 https://download.docker.com/linux/ubuntu focal InRelease Hit:2 https://packages.microsoft.com/repos/code stable InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Hit:5…
-2
votes
1 answer

Preventing Ubuntu upgrade to switch the storage driver from Overlay2 to aufs for docker container

I am upgrading an old server which is running Ubuntu 18.04 LTS to 22.04.3 LTS, going first from 18.04 to 20.04 and then to 22.04 LTS. The old server with 18.04 has some docker container that uses the storage driver overlay2 on extfs as backing…
Tobias
  • 11
-2
votes
1 answer

Oracle JDK-1.8 installation issue on Ubuntu-16.04-LTS(xenial i386)

With below Dockerfile trying to install Oracle JDK-1.8 on xenial i386 image . But it fails during docker build. # Install oracle jdk 1.8 RUN add-apt-repository ppa:webupd8team/java && \ apt-get -y update RUN echo debconf…
-2
votes
1 answer

Remove Docker GPG Key

recently I want to install Docker in my kali machine. I install the wrong (Ubuntu) version in my Kali. I did a curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg So if I…
-2
votes
1 answer

What does "docker start" "-d" option mean?

I know what "docker start" is and it is required to start docker for some image. But what "-d" option mean? Should I use it when I start docker image second, third etc. times? I am using it and the output is "creating..." ("docker down" writes…
TomR
  • 109
-3
votes
1 answer

add-apt- or apt-add-repository missing in Docker ubuntu:precise (12.04.5) container

For compatibility, I need to use this old image but even after installing software-properties-common both commands are not found: apt-add-repository or add-apt-repository All I could find was to install software-properties-common but that does not…
Genom
  • 117
-3
votes
1 answer

Libreoffice has different behaviour in Debian Jessie and Ubuntu

I'm using docker in order to set up the environment needed in order to run a converter (any format to pdf) through LibreOffice. I have a certain file; when I run it in the Jessie environment (base image is Debian Jessie) the conversion is not good…
1 2 3
…
85
86