Category "docker"

Is it possible the restart a docker container which it's network deleted?

I tried to remove a costume network that is connected to a container. As you can imagine I didn't, because of the container. I stopped it and then removed the n

Is it possible the restart a docker container which it's network deleted?

I tried to remove a costume network that is connected to a container. As you can imagine I didn't, because of the container. I stopped it and then removed the n

How are Docker image names parsed?

When doing a docker push or when pulling an image, how does Docker determine if there is a registry server in the image name or if it is a path/username on the

Docker Oracle Instant Client

I have been trying for 4 days to: Deploy Oracle Instant Client with Docker. I can give you the Dockerfile but it is 96 lines To use Oracle Instant Client on my

Can we combine jobs into one in .gitlab ci/cd yaml file?

This is ci/cd yaml file I using services: - docker:19.03.11-dind workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_

docker compose orphan containers warning

How to be with orphan images when you have 2 independent projects and you want them to work at the same time or at least to build running docker-compose up -d w

Safe ways to specify postgres parameters for healthchecks in docker compose

I'm using secrets to manage username, password, and dbname with a Docker stack using Postgres as a DB. I now want to use the healthcheck feature that Docker pro

How to run a cron job inside a docker container?

I am trying to run a cronjob inside a docker container that invokes a shell script. Yesterday I have been searching all over the web and stack overflow, but I c

Alpine Docker ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied

So I have used the default docker for testcafe which on docker hub is testcafe/testcafe and I have to run a few testcafe scripts. However, I need the screens

Docker compose create kafka topics

Problem: Cannot create topics from docker-compose. I need to create kafka topics before I run a system under test. Planning to use it as a part of the pipeline,

Why is this ENTRYPOINT incorrect?

My DockerFile has an ENTRYPOINT that just echoes ENTRYPOINT echo %windir%\system32\inetsrv\appcmd to the command window. This syntax works: ENTRYPOINT echo %wi

Delay Docker Container RUN until tox environment is built

I am trying to find a way to delay the docker container to be up until the task in ENTRYPOINT is completed. To explain it further, I have a docker file which ha

Nexus Docker Registry - Failling anonymous pull

I'm using Sonatype Nexus as a Private Docker Registry. While it works with authenticated users, trying to use anonymous user to pull images doesn't work. This

How can I tell if I'm logged in to a private Docker registry from a script?

How can I tell whether or not I'm logged in to a private Docker registry server from a script? In other words, has docker login some.registry.com been run succ

How to remove intermediate images from a build after the build?

When you build your multi-stage Dockerfile with docker build -t myimage . it produces the final image tagged myimage, and also intermediate images. To be com

How can I set Bash aliases for docker containers in Dockerfile?

I am new to Docker. I found that we can set environment variables using the ENV instruction in the Dockerfile. But how does one set Bash aliases for long comman

Move docker bind-mount to volume

Actually, I run my containers like this, for example : docker run -v /nexus-data:/nexus-data sonatype/nexus3 ^ After reading the documentation,

In terms of networking, are there any limitation to windows container over linux container like host network access from container

Limitation of window container over Linux container in terms of networking like host network access from container I have done research on window container but

Kubernetes: Error from server (NotFound): deployments.apps "kube-verify" not found

I set up a Kubernetes cluster in my private network and managed to deploy a test pods: now I want to expose an external ip for the service: but when I run: kube

How to create docker image for dotnet app?

I have a dotnet project that work when i do dotnet run, i am trying to containerize that dotnet project. For that i have create the Dockerfile as below: FROM mc