Category "docker"

How do I seed a mongo database using docker-compose?

I am trying to distribute a set of connected applications running in several linked containers that includes a mongo database that is required to: be distribut

Thingsboard: How do i change main logo?

I currently have a Thingsboard installation with docker and all I would need to do is change the main logo of the web application to another logo. I've made sev

MongoDb authentication failing on accessing database while using docker?

I have been trying to setup password to mongodb My docker-compose file is version: "3" services: mongo: image: mongo ports: -

Docker for windows will not start

I have installed Docker for windows as a complete noob looking to try it out. I have ensured Hyper-V is enable, virtualisation is enabled also any time I try an

Running migrations with Rails in a Docker container with multiple container instances

I've seen lots of examples of making Docker containers for Rails applications. Typically they run a rails server and have a CMD that runs migrations/setup then

How to spawn a docker container in a remote machine

Is it possible, using the docker SDK for Python, to launch a container in a remote machine? import docker client = docker.from_env() client.containers.run("bfi

Whats the brief factual difference between Kubernetes, Helm and Rancher (and others) [closed]

As a new starter in the world of DevOps, I've tried to find a one-pager that explains side by side what each of the following technologies do

Can't set Password for Postgres using docker-compose

I am not able to set Password for Postgres using Docker-compose. Postgres is loading without password and with the default user name "postgres", non of the envi

Best way to reload telegraf configuration when running in a container

I'm running telegraf in a container on my Synlogy NAS. Just asking out there what is the best way to reload the configuration when I make some changes in telegr

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in /app/node_modules/@babel/helper-compilation-targets/package.json

I'm having trouble building my nuxt images in a travis CI pipeline. My local environment is ubuntu 18.04 - docker version 19.03.11 docker-compose version 1.24.1

What happens to a Docker Container when HEALTHCHECK fails

The docker docs say what a HEALTHCHECK instruction is and how to check the health of a container. But I am not able to figure out what happens when healthcheck

What are <none> repository and tags? Why do they appear when I use docker build?

This is what docker images shows before I run docker build. $ docker images REPOSITORY TAG IMAGE ID CREATED VIR

See cron output via docker logs, without using an extra file

I am running "cron" in a docker container. Every day a script is executed. The output of this script I would like to see via "docker logs " The process with

Difference between "WSL2+docker desktop windows" and directly install docker on the WSL2 distro?

Why is it recommended to run WSL2+docker desktop windows, instead of directly install docker on the WSL2 distro ? It seems that both work but I read that the w

Connecting to a USB Android device in a Docker container via ADB

I have created a Docker image which contains the Android SDK and am trying to expose my Android phone in a container running this image. So I used the --privile

System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString') asp.net Core Docker-compose

I have a dockerized asp.net Core application trying to connect to a mySql Database. Both are running inside a docker-compose. When I test the connection to a lo

How to prevent docker container from stopping after executing sh script file

im running a docker container as shown below, after the sh files are executed the container terminate by default, how i can keep the container working in backgr

Docker Compose + Spring Boot + Postgres connection

I have a Java Spring Boot app which works with a Postgres database. I want to use Docker for both of them. I initially put just the Postgres in Docker, and I ha

Docker Compose Error "TypeError: expected string or buffer" on docker:dind (ports)

I'm triying to setup my containers with docker-compose in a docker container (docker:dind) to make the tests at gitlab ci. From yesterday to today it has begin

Django static Files not loaded on Docker?

I am using Django 3.0.6 and want to dockerize my project. everything is worked fine except static files. Static files are loaded completely when I run my projec