New answers tagged docker
0
votes
How to bindmount /etc/passwd using linux guest on windows host (docker desktop)?
The description lost me a bit, what you should make sure is :
Ensure the user ID and group ID inside the container match those on the host.
Make sure the permissions on the host directory allow the ...
1
vote
Optimizing a containerized database initialization and startup
Creating a Docker image from a pre-populated database container — is not an anti-pattern. In fact, for your use case, it can be an efficient solution, especially when the data is static and read-only.
0
votes
Getting error pulling image configuration: download failed after attempts=6: Service Unavailable
Verify ACR Service Availability
• Ensure that the Azure ACR service is operational in the Azure region where your registry is hosted. Check the Azure status page:
Azure Status (https://status.azure....
0
votes
Docker: error while creating mount source path
In my case, switching from VirtioFS to gRPC FUSE in Docker desktop > Settings > General > Virtual Machine Options fixed it.
0
votes
Ansible Connecting to remote Docker container over SSH
I used this solution:
ssh u.local
git clone https://github.com/serkodev/rabbitmq-cluster-docker
cd ./rabbitmq-cluster-docker
docker compose up -d
exit
ssh -L /tmp/docker.sock:/var/run/docker.sock u....
0
votes
security risk with reusing the same UID:GID for users when creating docker containers all deployed to the same cluster
When containers with the same UID share a volume, they inherit mutual access to the files created by others. This is necessary for the functionality you describe but can pose a security risk.
If a ...
1
vote
How can I get the Docker target platform inside the Build Environment / Dockerfile
The simplest answer will be to use TARGETPLATFORM variable which is available when you run docker buildx build ... command. Only thing to remember is that for any variable that is available you need ...
Top 50 recent answers are included
Related Tags
docker × 1173docker-compose × 209
kubernetes × 147
containers × 126
dockerfile × 103
jenkins × 80
networking × 59
docker-swarm × 54
windows × 53
gitlab × 50
linux × 48
amazon-web-services × 40
nginx × 40
continuous-integration × 35
deployment × 32
docker-registry × 29
jenkins-pipeline × 28
ansible × 27
gitlab-ci-runner × 26
images × 23
ubuntu × 22
mysql × 21
security × 20
cicd × 19
php × 19