Skip to main content

Questions tagged [docker]

Docker images, containers, hub, and everything related to the containerization platform

Filter by
Sorted by
Tagged with
1 vote
1 answer
115 views

How do I provide a config file (.env) when starting a container?

I'm trying to install a GUI on Bitcoin Lightning Network Testnet. I have 2 lightning nodes running and connected together. Both in containers. Now I would like to have a GUI interface to manage my ...
jfjobidon's user avatar
  • 113
0 votes
2 answers
66 views

Automatic builds based on commit and deploy

I am trying to figure out how to get my Ubuntu docker server to react to code commits on a git-repo and build and deploy an image based on that. I have a git repo in Azure Devops that contains an ...
JensB's user avatar
  • 101
2 votes
1 answer
670 views

Docker Compose: How do you build an image while running another container?

I'm trying to build a Nuxt 3 application using docker compose. However, I'm having trouble with docker compose and dockerfile configuration. Context To give background on the project that I'm working ...
Zerro97's user avatar
  • 21
0 votes
1 answer
683 views

How to update Docker Swarm services all at once?

I have a Docker Swarm with three services: proxy, backend, frontend. Currently it seems that if I do docker stack deploy and one service fails, it might just rollback to the previous version while the ...
Emily's user avatar
  • 101
8 votes
2 answers
35k views

how to check running containers with containerd

I've switched to containerd in a k8s cluster. There's 2 pods running on one node, 2 github runners. I used to check on a host what containers were running with "docker container ls" but how ...
Serve Laurijssen's user avatar
-2 votes
1 answer
878 views

Minimum laptop requirements for devops learning

I started learning devops technologies, but I encountered a problem with my laptop on the first labs, I cant provision more than 3 VMs in Vagrant, and I found out that my processor is not sufficient, ...
Van Hohenheim's user avatar
1 vote
3 answers
94 views

Is there a Way to Run a Docker Image without installing it in server?

I have created a Laravel application that I tried to deploy in a shared host (other apps running). It creates a conflict with the other project at the point to observe CSRF interferences at the other ...
CAMILO STIVENZON BAQUERO TORRE's user avatar
2 votes
0 answers
41 views

How to change log source in Nomad?

I have a CLI application which runs on Nomad, task "create-cli" { driver = "docker" config { image = "cli-app:local" tty = true ...
Nikhil.Nixel's user avatar
1 vote
1 answer
1k views

A case for exceeding docker's max depth

I am building a common library inside a docker container. A number of applications depend on the library. They build inside the common container and the compiled files are copied in a "slim" ...
superAnnoyingUser's user avatar
0 votes
1 answer
1k views

Multistage docker build for Python distroless image

This is my Dockerfile for distroless image similar to this example FROM python:3.9-slim AS build-venv RUN python3 -m venv /venv # other installation steps go here RUN /venv/bin/pip install --upgrade ...
GopherM's user avatar
  • 103
1 vote
1 answer
116 views

How can I access additional services in my container?

A decision was made by my company to containerise the entirety of a solution with multiple services into a single monolithic container (best practices aside please as I am well aware this goes against ...
jsprovoke's user avatar
-1 votes
1 answer
233 views

How do I install BlackDuck on mac?

I am trying to scan container images using the blackdock scanning tool. Unfortunately, I couldn't find any free version to play around with; please provide guidance and the simplest way to scan the ...
user3795861's user avatar
0 votes
1 answer
354 views

The best practice to set up cpanel with mongoDB on a cloud server!

I'm trying to set up my cloud server so i can run an app made with nodeJs and mongoDB, now for nodeJs my setup is to deploy it using cpanel on a cenos 7 os and since cpanel does not really support ...
devopsNovice00's user avatar
0 votes
1 answer
2k views

Escape quotes and commas in Docker volume paths using bind-mount syntax

In order for me to write the most bullet-proof scripts as possible that don't break with possible edge cases (no matter how unlikely), how do I escape commas and quotes in Docker bind-mount paths ...
ErikE's user avatar
  • 101
2 votes
0 answers
22 views

Linux Cloud/Windows On Prem Deployments

I have sort of a unique problem where I have a cloud deployment (linux) that needs to be ported to an on-premise deployment (windows). The constraint is that this is medical software and hospitals ...
Gillespie's user avatar
  • 121
0 votes
1 answer
1k views

can't run default/hello-minikube application in browser

I am new to devops stuff and just started learning Kubernetes. I installed minikube and kubernetes-cli with homebrew and then setup docker drivers minikube start --driver=docker minikube config set ...
abhimanyuaryan's user avatar
0 votes
1 answer
980 views

Docker port mapping across several IPs on same NIC results in error

I have docker stack running on a Raspberry Pi with docker-compose. It’s been going nicely for about a year now, but now I want to bring it to the next level. The issue is, the stack contains a few ...
Louis Nichols's user avatar
1 vote
3 answers
2k views

How does Github Actions work with docker containers?

Consider this GA workflow: name: My GA Workflow on: push jobs: myJobName: runs-on: ubuntu-latest container: cypress/included:10.6.0 steps: - name: Ensure tools are available ...
Greendrake's user avatar
4 votes
1 answer
93 views

Rationale for using Docker to containerize applications

I'm trying to get a better understanding of the reasons to use [and not use] Docker based on specific use cases. From my current understanding, Docker helps to isolate applications and their ...
ObiHill's user avatar
  • 143
3 votes
2 answers
6k views

Kubernetes fails to do do garbage collection on images

For quiet some time every once in a while I get an alert, that the disk of one of my Kubernetes cluster nodes is filling up. I pretty quickly found out, that it were the Docker images. As I did not ...
Max N.'s user avatar
  • 413
1 vote
1 answer
466 views

Why does stripping executables in Docker add ridiculous layer memory overhead?

On this image, I ran the following command to reduce executable sizes: find -P -O3 /usr/bin/ /usr/local/bin -type f -not -name strip -and -not -name dbus-daemon -execdir strip -v --strip-unneeded '{}' ...
T145's user avatar
  • 170
4 votes
1 answer
2k views

Exporting multi-arch Docker image from local registry to .tar file

I have a multi-arch build that is pushing to a local registry I have running: docker buildx build --platform linux/amd64,linux/arm64 --push -t localhost:5000/myimage:latest I need to export this ...
Jordan's user avatar
  • 141
3 votes
1 answer
588 views

How do I supply a professional license to a Docker image?

I’m using Windows Server Core as part of an image I’m working on. When it's deployed to production, how do I supply a license to it? Besides that, is this license needed to be bought for each image it'...
Mol's user avatar
  • 33
2 votes
1 answer
1k views

Does docker engine (not Desktop) support Linux containers on Windows 11?

I've installed docker engine according to the following instructions: https://docs.docker.com/engine/install/binaries/#install-server-and-client-binaries-on-windows I'm trying to run Linux containers ...
Craig's user avatar
  • 151
0 votes
1 answer
461 views

Jenkins JDK17 Docker still using JDK9?

I installed docker for Jenkins JDK17 docker pull jenkins/jenkins:jdk17 Reason being I run a single node (I know isn't the best practice, but for trying out) and my target application is also a Java ...
MaduKan's user avatar
  • 111
1 vote
1 answer
7k views

How do I make my AMD GPU available within a docker image based on python:3.9.10

I'd like to do some machine learning on my AMD 6800 XT gpu within a python image based on python:3.9.10. I can confirm that the GPU is available outside of the image (in a wsl2 instance). However, if ...
quant's user avatar
  • 155
2 votes
3 answers
1k views

Combine Helm charts or leave separate?

I'm new to Helm and my first task was to recreate a simple pipeline. This pipeline is just: PostgreSQL -> Spark, with ELK monitoring the instances. Someone mentioned I may be able to combine all of ...
Hustlin's user avatar
  • 21
2 votes
1 answer
2k views

How to link containers in a "icc=false" bridge?

I'd like to connect several services with a reverse proxy. But the services can't communicate with each others. I'm using a compose file for each service. I'm trying to use the same external bridge (...
Guix555's user avatar
  • 23
1 vote
2 answers
3k views

What is the best way to reverse port forward information from a Kubernetes cluster to localhost?

I am attempting to reverse port forward information from a Kubernetes pod 192.168.49.2:30085 to my locoalhost:8000 but I am having issues. The goal is to get the same response as curl 192.168.49.2:...
garrett_17's user avatar
0 votes
3 answers
7k views

gitlab-runner docker: command not found

I'm trying to build docker container using GitLab runner. (lead dev left company, and now I have no idea how to do it.) I'll share everything I can. Build output as I understand from output runner is ...
Andronik Nazaryan's user avatar
0 votes
2 answers
173 views

How do I run a CI build in a docker image matching the current `Dockerfile` while being resource-aware?

Given a repository containing a Dockerfile that defines the build environment used by the CI pipeline as well as by the developer (e.g. as a Visual Studio Code devcontainer), the CI pipeline shall ...
Roland Sarrazin's user avatar
0 votes
2 answers
2k views

TeamCity run step in docker

I'm trying to set up TeamCity to run tests on a .NET project. I have installed TeamCity and its agent (with access to docker) using docker compose : teamcity: image: jetbrains/teamcity-server ...
Ombrelin's user avatar
  • 101
3 votes
1 answer
23k views

NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

We have a cluster with 4 worker nodes and 1 master, and the flannel CNI installed. 1 kube-flannel-ds-xxxx pod running on every node. They used to run fine, but 1 node suddenly entered NotReady state ...
Serve Laurijssen's user avatar
1 vote
1 answer
1k views

Cloudformation template with EC2 using docker compose [closed]

I'm relatively new to Cloudformation, and had a few questions about my template and best practices. I'm facing a few hurdles, and there is a lot of information out there, it's a bit overwhelming, so ...
kvnam's user avatar
  • 121
0 votes
1 answer
70 views

Can I change a docker container from a self-delete policy to auto-restart?

I've got a container started (not my code, not my container, but I often manage the server and deal with the aftermath of it being patched) and I need to make a hot-fix to the deployment strategy, I ...
Peter Turner's user avatar
  • 1,450
0 votes
1 answer
2k views

Docker Push Container to Azure ACR "unauthorized: authentication required"

What is going on here? This should work. $ az logout $ az login To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code FW....C to authenticate. [ { &...
Adam Winter's user avatar
0 votes
1 answer
2k views

Is it possible to create multiple tags out from docker-compose?

While creating a CI/CD via Azure Devops, my goal is to push two tags to the artifactory: latest build version (For example 1.0.X) My docker-compose looks like: version: '3.4' services: ...
Shahar Shokrani's user avatar
0 votes
1 answer
1k views

Azure pipelines Docker@2 build command does not pass through build args

I'm running an azure build pipeline for a dockerized application set up using an azure-pipelines.yml file. The problem is that we require a build arg passed through to the docker build command, but ...
Jake Conkerton-Darby's user avatar
0 votes
2 answers
908 views

Arguments in docker_compose.yml throwing error, but not with docker run

I am in some desperate help. I am atempting to translate this docker run command: docker run -d -p 5434:5432 --name postgres-2 livingdocs/postgres:14.4 standby -d "host=host.docker.internal port=...
Ash's user avatar
  • 101
1 vote
1 answer
3k views

bind mount from host not appearing in docker container when using compose

I have a bind mount at /home/quant/mounted_folder with a fstab like this: /mnt/d/some_folder /home/quant/mounted_folder none bind I can confirm that the folder mounts correctly on the host: DESKTOP-...
quant's user avatar
  • 155
1 vote
1 answer
156 views

How can I make host docker images available to k8s Deployment?

I have a k8s pod that is running docker. My issue is that for the docker images on my host machine to be available within the pod I either have to run the image as a pod or run a docker pull script at ...
Nat's user avatar
  • 135
1 vote
1 answer
549 views

Why does php-fpm show nginx's IP while they are on different containers?

I am trying to set up an Nginx server for the purpose of load balancing between 4 Php-fpm servers. You can access my docker configuration files from this Github repository. My containers' network ...
NewUser's user avatar
  • 13
2 votes
1 answer
1k views

How to don't start entrypoint command on "docker-compose up"?

I have multiple Docker containers in a project and I use docker-compose up -d to start containers. This is my docker-compose.yml file: version: "3" services: httpd: image: 'nginx:...
Ferenc Bablena's user avatar
0 votes
0 answers
1k views

Should docker pull fail in an offline server when the specified image is already pulled?

I am trying to set-up kubernetes in an offline server. Part of the installation requires the following docker images, which I have already loaded in the offline server: # docker images REPOSITORY ...
Panagiotis's user avatar
0 votes
1 answer
488 views

How do I disable ICMP echo responses within a Docker container?

I want to be able to change the /proc/sys/net/ipv4/icmp_echo_ignore_all file from within my Docker container, but I get the bash: /proc/sys/net/ipv4/icmp_echo_ignore_all: Read-only file system error ...
jeppe's user avatar
  • 1
2 votes
2 answers
5k views

How to verify docker sha256 on hub.docker with docker?

Given an image like this one I want to be able to verify that the image I have matches DIGEST:sha256:6889517fd553d36ed5743827cd81c8f94438bd2502db57e9bbfbfac73e746f5b How can this be done in docker's ...
Nat's user avatar
  • 135
0 votes
1 answer
78 views

What is the information returned by docker inspect for .Mounts?

Ie, if I do: $ docker inspect -f '{{ .Mounts }}' base-hostSrcNv I might get: [{bind /dir/in/container /dir/on/host true }] The meaning of /dir/in/container and /dir/on/host is pretty easy to ...
Paul Molodowitch's user avatar
0 votes
1 answer
855 views

How are containers secured with MACVLAN networks?

Containers cannot be connected both to an internal bridge and to the host network at the same time, according to this question. However, this is what I need; I want a set of containers to be connected ...
vpseg's user avatar
  • 11
0 votes
2 answers
8k views

GitLab Container Registry: errors: denied: requested access to the resource is denied [...] error parsing HTTP 401 response body

When I run podman push (the equiv of docker push) to get my image up to GitLab's container registry, I'm getting the following error. errors: denied: requested access to the resource is denied [...] ...
Evan Carroll's user avatar
  • 2,251
0 votes
1 answer
22 views

Moving a file (with encrypted token) after building a docker on Jenkins

I have a project with NextJS and I build it using Jenkins. I run my app inside a docker container, and pull my code from Github. In my local project, I have a git-ignored file named .sentrylirc that ...
TheUnreal's user avatar
  • 101

1 2 3
4
5
23