Category "docker"

Docker-compose exit code is 137 when there is no OOM exception

When I run the following command, I expect the exit code to be 0 since my combined container runs a test that successfully exits with an exit code of 0. docker

How to get the IP address of the docker host from inside a docker container [duplicate]

As the title says. I need to be able to retrieve the IP address the docker hosts and the portmaps from the host to the container, and doing th

Cannot import PyTorch in Alpine Docker Container

The MRE below should be enough to explain what I'm trying to do. Google doesn't help as it seems to be a unique error, which surprised me since Alpine & PyT

Docker cannot start on Windows

Executing docker version command on Windows returns the following results: C:\Projects> docker version Client: Version: 1.13.0-dev API version: 1.25

Change Docker native images location on Windows 10 Pro

This is not a duplicate of Change Docker machine location - Windows I'm using docker native, version 1.12.1-stable (build: 7135) on Windows 10 Pro with Hyper-V

Docker cannot start on Windows

Executing docker version command on Windows returns the following results: C:\Projects> docker version Client: Version: 1.13.0-dev API version: 1.25

Docker: Copying files from Docker container to host

I'm thinking of using Docker to build my dependencies on a Continuous Integration (CI) server, so that I don't have to install all the runtimes and libraries on

When I login to Docker Nexus 3 private registry, I get 404 error

I am working in a closed environment, and I need to login to a private Nexus3 registry. I have setup the daemon.json with the insecure-registries option. I ca

Cannot run container that build from azure pipeline with Spring boot

I tried to run a container that build from azure pipeline and I have encountered with this error below. I run it on local and it works just fine and the pipelin

Error response from daemon: stat /var/lib/docker/btrfs/subvolumes/[...]: no such file or directory

I manually deleted a docker managed subvolumes btrfs subvolume delete /var/lib/docker/btrfs/subvolumes/<subvolume id> but when I try to recreate it gives

Error response from daemon: network myapp not found

I am trying to create a container in a multihost network but while creating I am getting this error: Error response from daemon: network myapp not found Here

Docker cannot resolve DNS on private network

My machine is on a private network with private DNS servers, and a private zone for DNS resolution. I can resolve hosts on this zone from my host machine, but I

Exploring Docker container's file system

I've noticed with docker that I need to understand what's happening inside a container or what files exist in there. One example is downloading images from the

How to capture packets for single docker container

There have many container running on the host. And I want to capture packets for the one container of these. Is there any way to do this?

Cache "go get" in docker build

I want to encapsulate my golang unit testing in a docker-compose script because it depends on several external services. My application has quite a lot of depen

Docker initialize database tables and records in SQL Server

How do you specify initialization database script for SQL Server via docker-compose using SQL script file? docker-compose.yml database: image: microsoft/m

Update only one Container via docker-compose

Let's say I have a docker-compose.yml file containg five apps & I started them via docker-compose up -d Now there is an update for one of these apps availab

How to create a queue in RabbitMQ upon startup

I am trying to start RMQ inside docker container, with precreated queue qwer. Prior to this, I was using simple docker-compose.yml file: rabbit: image: ra

Network mode container in docker-compose

With plain docker I can use network mode container like this: docker run -d --name container-b --network container:container-a <image> Can this be achi

Building a rocketmq cluster with docker-compose, managing which broker is in control

I want build a rocketmq cluster on my machine, where the mode is master-slave, with docker-compose And I can only start one broker at the same time. That say wh