Questions tagged [docker]

Docker - An open platform for distributed applications for developers and sysadmins.

995 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
0 answers
4k views

jenkins:Broken AVD system path. Check your ANDROID_SDK_ROOT value

I have docker-image of jenkins. Home directory of jenkins is: /var/jenkins_home wich mapped to /home/user So, i install android-sdk wich mapped to: /home/user/tools/android-sdk/ When i install ...
Admiral Land's user avatar
9 votes
0 answers
12k views

What IP/ports should be opened for Docker Hub?

Given our client's restrictions, we cannot have our VMs completely open to the internet. However, we sometimes need to pull Docker images from Docker Hub. We can white-list IP addresses and ranges, ...
Nico Villanueva's user avatar
8 votes
0 answers
11k views

Docker: "failed to get console mode for stdout: The handle is invalid."

When running docker-compose up in Windows PowerShell using Docker Desktop on WSL2, I get Creating network "test_default" with the default driver Building master failed to get console mode ...
questionto42's user avatar
  • 2,331
8 votes
0 answers
2k views

Ubuntu unattended upgrades stops Docker

This is my current 50-unattended-upgrades file: Unattended-Upgrade::Automatic-Reboot "false"; Unattended-Upgrade::Allowed-Origins { "${distro_id}:${distro_codename}"; "${distro_id}:${...
Nico's user avatar
  • 81
7 votes
0 answers
2k views

Docker is creatting another default network route overriding default one and disabling internet connection

I'm using docker, and when I started some container it starts the docker network interface. With it the daemon set-up 2 new routes, including a new default route, overriding my old one. And, of course,...
oaugustopro's user avatar
6 votes
0 answers
779 views

How to hide Docker volumes from Dolphin file manager?

KDE Plasma user here. Dolphin file manager is displaying all my Docker volumes in its devices sidebar section, and I'd like to prevent them to appear here without having to manually hide them. Is ...
Sekhemty's user avatar
  • 9,386
6 votes
0 answers
569 views

When using shell inside Docker, previous command (Ctrl+P) does not refresh

I'm new to Docker, and I had a running container with Ubuntu 16. I usually connect the container with the command: docker exec -it 7e3 /usr/bin/zsh Then, when I use the shell inside the Docker, ...
rainyluo's user avatar
6 votes
1 answer
753 views

How to configure detach key-sequence like Docker's detachKeys using kubectl?

The default key sequence for detaching from a running container is Ctrl+p Ctrl+q in both Docker and Kubernetes. For Docker (e.g. docker run), I can change this with either --detach-keys on the ...
ivan's user avatar
  • 1,055
6 votes
0 answers
2k views

How to move images of docker in aufs directory to overlay2?

I update my kernel of Debian from 3.x to 4.x. Docker storage become overlay2. ls /var/lib/docker/ containers image network overlay2 plugins swarm tmp trust volumes old directory structure ...
Sword's user avatar
  • 61
6 votes
0 answers
449 views

How can I link an SMTP server to a Docker container under Plesk Onyx?

I'm running a Docker container on a Plesk Onyx managed server using the Docker extension. Everything is fine except email. How do I go about either linking my smtp server to the container or modifying ...
RyGuy's user avatar
  • 163
5 votes
0 answers
3k views

GPG Error on APT-GET docker container (Ubuntu 22.04)

I am trying to just apt-get update on a ubuntu:22.04 docker container. On my local machine, when I spin up a new ubuntu:22.04 docker container and run apt-get update, no error occurs. However, on my ...
Jason Chan's user avatar
5 votes
2 answers
7k views

Docker Desktop 3.1.0 for Windows 10 Installation Failed

I have Windows 10 Pro version 1903 (build 18362.836). Hyper-V is enabled. Docker Desktop 3.1.0 failed to install with the following error. Any help would be greatly appreciated. Component ...
user avatar
5 votes
0 answers
3k views

Invalid length of startup packet docker compose postgresql

I am trying to install/setup pgadmin4 on a linux fedora 28 machine and when I try running this command docker-compose -f docker-compose.yml -f docker-compose.dev.yml up I get these errors: ...
everydayprogrammer's user avatar
5 votes
0 answers
638 views

using ksm_preload for Apache inside Docker

I am trying to use ksm_preload for Apache inside Docker. The problem is the library does not get mapped when running inside Docker. Outside it works and i am seeing shared/volatile pages. I think the ...
Sidias-Korrado's user avatar
5 votes
0 answers
1k views

Docker for Windows unresponsive after restarting VM

I've installed Docker for Windows on my Windows 10 machine, which uses Hyper-V. The default VM that gets installed is the MobyLinuxVM. To change some settings, I shut down and restarted the VM. But ...
SQB's user avatar
  • 703
5 votes
1 answer
215 views

Docker workflow with multiple packages and shared sources

Let's say I want to use Docker for an app, which consists of two parts. These parts are different, but they have some shared libraries. So, I have two folders: part1/ Dockerfile src/ part2/ ...
valya's user avatar
  • 908
4 votes
0 answers
1k views

Accessing Docker's volume using WinSCP

I have 2 Ubuntu 20.04.1 machines with Docker installed. I would like to access the content of Docker volumes using WinSCP. i.e. access the path /var/lib/docker/volumes/my_vol_name/_data which is fully ...
Qua285's user avatar
  • 41
4 votes
0 answers
4k views

How to setup docker containers for multiple users?

I am very new to docker and have successfully created several containers for my own personal use. When I consider using docker to separate services on a server I administer, I do not understand how ...
eng3's user avatar
  • 247
4 votes
1 answer
2k views

ECS task can't pull container after defining execution role

I have existing task running on ECS cluster top of EC2 and now I would like to use secrets from Secret Manager. Secrets support need execution role which I have defined. Execution role has arn:aws:iam:...
tero's user avatar
  • 41
4 votes
0 answers
851 views

ARM Docker Image support on AWS CodeBuild

I've been trying to get a few different dockers images I've used for ARM cross-compiling setup in CodeBuild. In my project, if I choose one of the non-custom images it works, so I have narrowed it ...
Keaton Freude's user avatar
4 votes
0 answers
4k views

./pipe/docker_engine: Access is denied. In the default daemon configuration on Windows, the docker client must be run elevated to connect

./pipe/docker_engine: Access is denied. In the default daemon configuration on Windows, the docker client must be run elevated to connect I summarized my issue here with print screens etc. https://...
Tzvi Gregory Kaidanov's user avatar
4 votes
1 answer
3k views

Sending Emails within a Docker Container

Hello I'm trying to run the following command in my container mail -s "This is Subject" [email protected] < /path/to/file How should my dockerfile look so the above command can be executed ? I ...
Montassar Dridi's user avatar
4 votes
0 answers
431 views

Docker with /aufs on AWS EFS volume reports mount error "file too large"

I tried asking this at AWS forum and got no help...hoping someone in stackexchange has a solution. Recently switched my AWS EC2 ubuntu 14.04 instance from using a EBS volume to the newish EFS (...
DKebler's user avatar
  • 198
4 votes
1 answer
96 views

Why do docker images need to be small?

I'm trying to determine the material benefits of ensuring that your docker images are small. It seems that folks jump through some serious hoops to achieve this but the benefits aren't clear to me. ...
Roy Truelove's user avatar
4 votes
3 answers
61 views

Locating a process in a linux vm (it's complicated)

I have a virtualbox vm to which I can connect through a browser using localhost:8080. The network of the vm is NAT with port forwarding of localhost:8080 to vm:8080. However, logging into the console ...
hidenseek's user avatar
4 votes
0 answers
546 views

What exactly are the security implications of ufw DEFAULT_FORWARD_POLICY “ACCEPT”?

I found this question asked on Serverfault, but the answer just provided alternatives instead of actually detailing the implications. I had to set DEFAULT_FORWARD_POLICY to "ACCEPT" to be able to ...
ROODAY's user avatar
  • 233
4 votes
0 answers
3k views

curl suddenly unable to get local issuer certificate

I've been using Docker 1.7.1 with base Ubuntu 14.04 image and all of a sudden this curl: curl -L -o sbt.tgz https://dl.bintray.com/sbt/native-packages/sbt/0.13.9/sbt-0.13.9.tgz is failing me with ...
joao figueiredo's user avatar
4 votes
1 answer
90 views

Automatic container management

I manage around a bunch services which run on different machines. I have been playing around with having this services running inside containers and everything is working great. Next I was wondering ...
Mac's user avatar
  • 91
4 votes
1 answer
6k views

Docker unable to pull images

On running the docker command, I get following error: docker run hello-world Pulling repository docker.io/library/hello-world docker: Network timed out while trying to connect to https://index....
suuser's user avatar
  • 157
4 votes
1 answer
556 views

Getting Mac Docker client to connect to virtualbox via vagrant

I am trying to expose dockers tcp ip to my host docker client. I have the following setup Virtualbox 4.3.26 r98988 vagrant 1.7.2 Mac OSX Mavericks 10.9.5 Centos 6.6 vagrant box running (docker 1.5.0) ...
user2108258's user avatar
3 votes
1 answer
370 views

Why would Docker Desktop unpause itself in Windows 11

Given: Docker Desktop (latest version) Version 4.19.0 (106363) Windows 11 Pro 22H2 When I pause Docker Desktop, after a few minutes it will unpause itself. Anyone know why this might happen?
Rod's user avatar
  • 483
3 votes
0 answers
1k views

What is the difference between flatpak and OCI container systems?

Doesn't Flatpak and and OCI container systems like Docker, Podman and similar systems encapsulate and distribute programs and it's dependencies independent from a Linux systems package management and ...
user63835's user avatar
  • 364
3 votes
1 answer
1k views

Does Alpine drop packages from old base images?

I am currently using alpine:3.13 as my base image. There, I had installed nodejs using: apk add nodejs=~14.15. However, the 3.13 branch contains a new nodejs (14.16) and 14.15 does not exist anymore. ...
Ankit Koirala's user avatar
3 votes
0 answers
929 views

How to change the default distro directory in WSL?

I have two drives on my machine , C, and D. On setting up a WSL2 image on one occasion and a WSL2-backed docker image on another, I found my C drive was full. I was able to move over one of the images ...
xdhmoore's user avatar
  • 675
3 votes
0 answers
528 views

Is it safe to install / run Docker Desktop WSL2 and Docker within WSL2 on Windows 10?

I am running Windows 10 and I have already installed Docker Desktop with WSL2 integration. I have an NVIDIA GPU in my laptop and I want to run GPU-accelerated containers using NVIDIA's Container ...
jinscoe123's user avatar
3 votes
0 answers
2k views

Docker Desktop WSL2 volume mapping not working

I'm running Docker Desktop with WSL2 backend. I'm trying to run a docker-compose.yml which looks like the following: version: '3.8' services: foo-service: volumes: - /home/foo:/var/lib/foo ...
twobiers's user avatar
  • 141
3 votes
0 answers
566 views

How can I paginate Docker commands?

The output of some Docker commands (such as docker container ls) takes a lot of space of my terminal, causing a lot of line breaks, which makes the reading to be a frustrating task. So I wondered if ...
Luiz Felipe's user avatar
3 votes
0 answers
98 views

Host (Win10) disk-size reported wrong after docker builds in VirtualBox on guest (Ubuntu)

My issue is reproducible in a rather specific setup, so let's first give some context: Host OS: Windows 10 Virtual Box 6.0.14 (latest) Guest OS: Ubuntu 19.10 x86_64 (kernel: 5.3.0-24-generic) Gitlab-...
StarShine's user avatar
3 votes
0 answers
768 views

Set up mitmproxy in transparent mode on a docker container

Is it possible to turn a docker container into a gateway for a transparent proxy like this? I heard that you need to use macvlan or ipvlan, but what is the equivalent setup for the example shown in ...
charlieh_7's user avatar
3 votes
1 answer
5k views

Cannot connect via ssh to docker container

I have docker running on a server and I deployed a container, by running: docker run -d -p docker_server_ip:3001:22 --name test14 -ti rhel_7_4 When running docker ps I can see the instance. Also, I ...
Miki's user avatar
  • 61
3 votes
0 answers
279 views

Newbie: developing in a remote docker @ aws ec2

I'm newbie and needing help. Currently playing with following setup: remote machine an AWS EC2 instance with Ubuntu 18. Sec group: SSH - myIp port 22, http install docker and docker-compose ...
rain tengu001's user avatar
3 votes
1 answer
5k views

docker in docker without privileged mode

Last time I used docker in docker for runners, but it requires privileged mode compose file: version: '3.7' services: runner: image: gitlab/gitlab-runner:latest volumes: - ./config:/...
user3285586's user avatar
3 votes
0 answers
322 views

How to deploy OpenProject on Heroku?

I want to deploy project management software OpenProject on Heroku cloud through docker-compose.yml file. version: '3' services: openproject: container_name: openproject image: openproject/...
sandroconte's user avatar
3 votes
0 answers
847 views

Finding .npm debug logs in Azure DevOps Pipeline

I have an existing build pipeline for a Vue web app that has worked flawlessly for over a year now up until today. I'm not a devops guy so I don't understand it 100% and got thrown into this, but here ...
CLosee's user avatar
  • 31
3 votes
1 answer
606 views

How does the Docker daemon know about the available hardware resources?

We are running Docker on a RedHat VM on a VMWare hypervisor. When we added more virtual cores (vCPUs) to the VM the RedHat sees the additional resources and can address it but not the containers ...
Christoph Krüger's user avatar
3 votes
0 answers
586 views

How to fix this PhpStorm, Docker and PhpUnit issue?

I have three docker containers: prefix-php-fpm prefix-mysql prefix-mysql-test I have configured Docker, remote PHP interpreter and PhpUnit in PhpStorm. But when i run tests which requires DB ...
user3405682's user avatar
3 votes
0 answers
2k views

Docker: Connection PHP/Apache --> MySQL slow

I would like to ask for help on my Docker installation, because I can't fix it. I have read a lot about slow Docker containers but all things I tried don't help. When I browser the phpmyadmin UI it ...
Keysmith's user avatar
3 votes
0 answers
452 views

Problems installing docker-ce normal way after it was installed with snap

What I did: Install docker-ce via snap Remove it - errors Remove snap Remove via dpkg - worked finally Install official way - dpkg gives an error, post-install script of docker would exit with an ...
J. Doe's user avatar
  • 461
3 votes
0 answers
2k views

Docker container can't make DNS queries with FirewallD running

While FirewallD is running, all DNS queries fail and are blocked by the firewall. Running tcpdump -i docker0 while running ping google.com in a container shows me 21:27:02.683342 IP 172.17.0.2.35118 &...
ollien's user avatar
  • 83
3 votes
0 answers
835 views

Java memory allocation error inside a Docker container when host machine is running Alpine Linux

I want to run Jenkins in a Container where my host machine is running Alpine Linux. I have an Ansible playbook that starts the Jenkins container. However, the container exits as soon as it starts. I ...
Tom's user avatar
  • 31

1
2 3 4 5
20