Category "docker"

Separate PHP script in a cron job

I have about 10 accounts. Also, I have a cron job with php script which executes every minute. This script is working for each client one by one. The problem is

Cant set up php enviroment in Docker

When I run docker run --rm -v $(pwd):/opt -w /opt laravelsail/php81-composer:latest composer install to install all the composer dependencies, these popped up ~

Docker container sending request to http

Hi I have a question. I am using docker compose ver3 and consul image as container, on my host machine I have a simple service that should response to http re

Nginx 403 while accessing static files in docker volumes

I am trying to serve static files in docker volumes for my Django project. Nginx is able to access the files(403) error. I tried to solve this in different way

Migration Table Creation Error when using Laravel Sail. Information_schema.tables missing

My colleague has created a docker-composer.yml file and has shared that image with me. When I run the container and attach this image, I am unable to create mig

Volume binding using docker compose on Windows

I recently upgraded my Docker Toolbox on Windows 10, and now my volume mounts no longer work. I've tried everything. Here is the current mount path: volumes:

Problem with setting up a stack nginx proxy manager using portainer on my home server

I had this error while trying to setup a nginx proxy manager container using portainer, portainer started without problems error: Recreating 3167b8f95097_nginxp

Problem while rs.initiate() for setup docker-compose for replica set

I want to setup MongoDB replica set with docker-compose with only one node. This is my docker-compose.yml file: version: '3.7' services: mongodb1: image

WARNING: The DB_USER variable is not set

I am using docker compose for my project. And I have a strange error after docker-compose up --build: WARNING: The DB_USER variable is not set. Defaulting to a

unknown error: DevToolsActivePort file doesn't exist when running in Docker

I am trying to run chrome using Python and selenium in a Docker container running alpine. It was running fine until one day when it started throwing the followi

Mounting local volumes to remote docker container, Possible?

I'm pretty comfortable using Docker recently, typically to test websites to make sure they run properly on servers before I deploy them. Typically, I mount my l

Kubernetes node-exporter container is not working it shows this error message

Error: failed to start container "node-exporter": Error response from daemon: path /sys is mounted on /sys but it is not a shared or slave mount shows that mes

Difference in docker restart policy between on-failure and unless-stopped?

I have read the docker-compose documentation about restart policy of containers, However I failed to understand the difference between on-failure and unless-st

Docker in bridge network mode on ARM-based Synology NAS?

I have an ARM64-based Synology NAS device and have been trying to set up Docker on it using the instructions found here: Can I install Docker on arm8 based Syno

Use socks5 proxy from host for docker build

To build a certain image I need to create a tunnel and make docker use this tunnel as a socks5 proxy (to use the proxy for DNS too). So now i've got several pr

Docker - Mongo DB instance not connecting with application

I am using docker mongo with my aspnet core application but I am unable to make connection with mongodb which is running under container. Although I am able to

Can't log MLflow artifacts to S3 with docker-based tracking server

I'm trying to set up a simple MLflow tracking server with docker that uses a mysql backend store and S3 bucket for artifact storage. I'm using a simple docker-

Error creating default "bridge" network: cannot create network (docker0): conflicts with network (docker0): networks have same bridge name

After stopping docker it refused to start again. It complaint that another bridge called docker0 already exists: level=warning msg="devmapper: Base device alre

Unable to build docker image with sasl python module

I am trying to build a docker image containing Python 2 on my mac (High Sierra). Here is the docker file. (build command: docker build -t integration_test .) F

Docker, how to deal with ssh keys, known_hosts and authorized_keys

In docker, how to scope with the requirement of configuring known_hosts, authorized_keys and ssh connectivity in general, when container have to talk with exter