Category "docker"

How to run Docker on an external USB hard-drive in Ubuntu 21.10?

I am trying to run the following command in Ubuntu 21.10 with Docker so that it will run on my external USB hard-drive: sudo docker run -v /media/alexanderjsing

DockerHub Build fails

I have a Dockerfile that looks like that: FROM ubuntu:latest RUN apt-get update && \ apt-get -y install sudo RUN apt-get update; apt-get install

How to use Dapr to communicate in Docker Compose

I'm trying to learn Dapr and Docker Compose at the same time, though I am running into some problems. I have a very basic docker-compose.yaml, shown below versi

Nexcloud + Reverse proxy ERR_TOO_MANY_REDIRECTS when trying to access my subdomain

In order to host multiple websites I'am trying to reproduce the following schema diagram The redirection works correctly with the following sites and without ha

Windows Container Access is denied. (0x5). using Powershell. But still accessible on Docker Desktop CLI tool

I am running a docker-compose up and spinning up my Windows containers. Then I want to attach to a container. I tried docker attach <container id>, but i

I could not connect to docker daemon from remote in ubuntu 20.04

I want to run docker daemon for remote connection without any TLS verification. So based on this I edit file /lib/systemd/system/docker.service and add two belo

Docker image over growing

I have 3 simple docker files. In every file I install python3 on the base image centos:7, oraclelinux:7-slim and alpine:latest. The python3 installation process

Topic authorization failed error while KSQL tries connecting to cluster

I am trying to have my ksqldb-server docker instance up and connect to a remote Kafka cluster, but getting an error. Here are the details docker-compose.yml ---

How do I redirect an address to another docker container using the nginx?

Im trying to redirect to docker containers using nginx but when accessing my server from an 'external pc'(host and other vagrant machines) the address doesn't r

File content is different in Docker image vs mounted folder

I have a mounted folder and I download files into this folder through Spring boot application in docker container. File content is correct in my macbook's mount

What is the difference in the user defined in Dockerfile and docker-compose file?

I have a Dockerfile as below: FROM jenkins/jenkins:latest USER root RUN whoami USER jenkins RUN whoami and this docker-compose file version: '2' services:

Laravel docker-compose 404 not found Nginx

I'm facing a strange behavior when trying to run my Laravel app using docker-compose. After starting the containers, if I try to visit my website URL I get the

Userid and Group id in docker run command

When do we need to add -u $(id -u):$(id -g) in docker run command? I see that it is user id and group ip mapping. But I want to understand this better.

Access env variables inside docker entrypoint script

I want to pass environment variables in my docker run command and access them in my entrypoint shell script. This is my super simple Dockerfile for test purpose

SSH disconnected after start docker on AWS

I installed docker on aws according to thes docs https://docs.docker.com/engine/install/centos/ https://docs.aws.amazon.com/AmazonECS/latest/developerguide/dock

Not able to open Control Center UI on localhost

I am trying to understand confluent kafka and do some hands on with it Trying to setup on my local machine . I have followed the instructions in this doc : http

What is the point in backing up a docker container?

I have started using Docker recently and currently running Portainer and Nginx. Of course, I've also started looking deeper into Docker, how it works, how to ba

org.testcontainers.dockerclient.DockerMachineClientProviderStrategy - docker-machine executable was not found

When I try to run test containers I get the following error. The docker machine not found in /root/.sdkman/candidates/gradle/current/bin, /usr/local/sbin, /usr

How to get all docker image layers in k8s masternode

I'm a beginner at Kubernetes and Docker. I want to receive the image layer of all the containers that are operating on the master node of k8s. (If there is any

Creating an image with Docker and resources outside the main directory

I try to build an image with Docker (10.20.13 on RH 7.9). But some of my resources are outside the Dockerfile directory. Below is my tree : /dir1 ├─