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
1 answer

Restore deleted docker container in Virtual Machine

I have connected to a VM via SSH in Visual Studio Code and in that connected to docker container. When I closed the container, the container got deleted permanently. When I check in VM "docker ps" , it is not showing the container ID. Please help to…
-1
votes
1 answer

SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed (_ssl.c:852)

Dockerfile i have below for y-ppa-manager package installation. FROM ubuntu:18.04 RUN add-apt-repository ppa:webupd8team/y-ppa-manager RUN apt-get update -y RUN apt-get install -y y-ppa-manager But during docker image build time it fails with below…
-1
votes
1 answer

Which version to use

I was thinking of running docker on Ubuntu is there any way to strip down Ubuntu desktop to bare minimum or does Ubuntu server have terminal when you connect it to a display after install thanks
Dansku
  • 189
-1
votes
1 answer

How to run a docker pull request?

HI there so I found this program called Project Chrono and on their download page it is said that I need to pull it from docker, so I first installed docker using snap then proceeded to install it, sudo docker pull uwsbel/projectchrono:latest I…
Rei
  • 53
-1
votes
1 answer

docker push to private registry - An image does not exist locally with the tag: localhost:5000/xxxx

I have running private registry sudo docker run -d -p 5000:5000 --restart always --name registry registry:2 sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1707fb042a43 registry:2 "/entrypoint.sh /etc…" 4 days ago Up 2 hours…
Alex
  • 215
-1
votes
1 answer

after installing openjdk 16 and android studios on different user git and docker permissions are completly destroyed

OS Version: Ubuntu 20.04 Yesterday i installed openjdk-16 and android studios on a different user account. Sinds then my docker-rootless doesn't work and if i do git commands its fine but when i do like git add -p i get this error message: Can't…
-1
votes
1 answer

Docker login permission denied from private repo in Kubectl

I have few private repository in docker hub and i want to deploy it in my laptop below are the issue im getting when deploying images. And all images have download but still issue having root@master-node:/home/mohd/Music/Kuberentes/Kubernetes#…
-1
votes
1 answer

Why is my docker file assuming Python 2.7?

I am working on a pc with ubuntu 20.04.1 LTS My python version is 3.8.5 I am trying to build a docker image with the following Dockerfile FROM ros:kinetic-robot LABEL maintainer="olala7846@gmail.com" # Install Dataspeed DBW from binary # adding…
-1
votes
1 answer

Docker - How to setup chrome with chromedriver or Firefox with Geckodriver building python app with Arsenic library

Python3 app that uses Arsenic library for async web scrapping. It requires browser with driver. Tested on windows pycharm, all works great because i have Chrome installed my windows. Now i have to build my app on Amazon Ubuntu 20.04 server using…
-1
votes
2 answers

Docker container with ubuntu 16.04 add-apt-repository using groovy instead of xenial

I have a problem when adding a ppa repository in my docker container. My ubuntu version in the container is 16.04 that supposed to be xenial , but when I added a ppa repository using add-apt-repository it's using groovy . The problem is, bitcoin ppa…
-1
votes
1 answer

E: Malformed entry 4 in list file /etc/apt/sources.list.d/additional-repositories.list (Component) E: The list of sources could not be read

i'm trying to install putty and i got the following error E: Malformed entry 4 in list file /etc/apt/sources.list.d/additional-repositories.list (Component) E: The list of sources could not be read. E: Malformed entry 4 in list file…
-1
votes
1 answer

Docker Install Issue

I am trying to install Docker using these instructions but I am running to an issue adding the repo https://linuxhint.com/install_docker_linux_mint/ xxx@Home-Server:~$ sudo add-apt-repository "deb [arch=amd64]…
-1
votes
1 answer

Docker container network bridge

i am using a Raspberry PI as a VPN network gateway to route all my traffic into it. so on the PI i want to set up a docker container. The appliations in the docker container should not route through the vpn tunnel. So can i use a network bridge to…
-1
votes
1 answer

Docker install fails on UBUNTU 18.4

I tried installing docker but got errors, then i searched for another method, tried that.. now I get errors on 'docker ver' cmd and also have to prefix docker cmd with SUDO.. my log follows: Log follows: To run a command as administrator (user…
nktoronto
  • 99
  • 1
  • 1
-1
votes
1 answer

Install Openfoam7 through docker, but no bashrc file

I installed openfoam7 in my Mac through Docker, Now I am trying to run the Allrun, which is start with #!/bin/bash cd ${0%/*} || exit 1 # Source OpenFOAM BASH profile . /opt/openfoam7/etc/bashrc but it failed, it said cannot find bashrc file. Here…
matrix
  • 1
1 2 3
…
85
86