Category "docker"

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

Docker not starting, volume permission denied error

i am trying create postgresql container with this command in windows with WSL 2 integration enabled docker run -d --name pg-docker --restart=always --publish 54

Using Docker via Windows console: includes invalid characters $PWD for a local volume name

I try to run a Python program with Docker via the Windows console (Windows 10). I had made the Windows console be capable of Docker Hello, World!. But w

NightwatchJs is ignoring chrome options when trying to launch no sandbox and headless on docker

I am having an issue running nightwatch on a docker container using chrome, nightwatch seems to be completely ignoring the fact that i have told it to use --no-

PHPMetrics option --excluded-dirs="myfolder" : myfolder dir is not excluded within docker

I'm trying to use PHPMetrics within Docker image. I run the next command in the project root folder: docker run --rm -v `pwd`:/project jolicode/phaudit phpmetri

Custom Windows Docker Container Base Image

I have a service that uses an API for a desktop software. I currently have this deployed by VM's. On the VM I have the required desktop software and my service.

Locked package.json files in Docker container using docker-compose

I'm using Docker for Mac and Docker Compose for development of a Node.js application and I'm experiencing an error with the package.json file being locked. The

Getting "conflict: unable to remove repository reference"

I am trying to delete a test image: docker image rm test-image but I'm getting Error response from daemon: conflict: unable to remove repository reference "

How to pass localhost address to Tyk target URL?

I have my Tyk components (Tyk Pro Demo from GitHub) running using Docker compose. When I create a simple API using some public APIs, like Pet Store Io, it works

Why I get SSL errors while installing packages on Docker(on mac)?

I am running Docker through Docker Desktop on a MacOS, and I am having a lot of trouble installing packages in my container because it is being unable to verify

ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

I was trying to install OpenCV4 in a docker on jetson nano. It has jetpack 4.4 s os. The docker was successfully created and Tensorflow is running but while ins

Can I run a Hyperledger Fabric network without orderer org?

I want to create a fabric network who contains three org: org1, org2, org3. And each org includes two type service: peer1 as peer service, orderer1 as orderer s

Installing docker-compose on Amazon EC2 Linux 2. 9kb docker-compose file

First of all, let me state I'm not the most virtuous of Linux users, so bare with me... Below is a brief run-down of all the steps I took. Ultimately the questi

docker.sock permission denied

When I try to run simple docker commands like: $ docker ps -a I get an error message: Got permission denied ... /var/run/docker.sock: connect: permission

Running filebeat on docker

i'm trying to install elk and filebeat on docker, well i uploaded the image of elk and it worked i can go to the kibana dashboard and view elastic ,... Now I wa