Category "docker"

How can I use Tabnine in a DevContainer?

I've been regularly using the Tabnine VSCode extension on my computer for a while now, and it's been very helpful so far. However, I'm having trouble installing

How to solve "bash: vendor/bin/grumphp: Permission denied" in WSL 2?

docker-compose my-app up -d && docker-compose my-app exec app bash, then vendor/bin/grumphp run worked when my project was on Windows filesystem. Then I

How to fix No valid value was specified for docker build context error in visual studio 2019

I've started a new .net 5 web app in vs 2019 with docker support. When I try to run it it throws the error "No valid value was specified for docker build conte

Docker Compose with multiple VPN network for multiple services

I have a docker-compose file like this: version: '3' services: zookeeper: image: wurstmeister/zookeeper container_name: zookeeper restart: alway

Stop all docker containers at once on Windows

How can I stop all docker containers running on Windows? docker stop is for 1 container only. Any command/script to make it stop all containers?

How to check if a Docker image with a specific tag exist on registry?

I want to check if docker image with a specific tag exist on registry. I saw this post: how-to-check-if-a-docker-image-with-a-specific-tag-exist-locally But it

Closed ports on docker host (OSX) are staying/reporting open on the internal docker network

After upgrading Docker to 4.6.0 on OSX 12.3 I've had a bit of an odd issue when I stop the xdebug listening client in PHPStorm, it seems that subsequent request

Elasticsearch-Kibana docker-compose - Value of "elastic" is forbidden

I want to run elasticsearch and kibana with docker-compose. This is my docker-compose.yml which I run with docker-compose --env-file dev.env up Docker Compose v

Unable to login to Postgres

I am not able to login into my postgres databse deployed in docker. PFB my docker-compose.yml discountdb: image: postgres docker-compose.override.yml d

How to install ZeroMQ for PHP on an Alpine Linux container?

To be able to push notifications via WebSockets from PHP using Ratchet, I need to install ZeroMQ as stated in the documentation. However I didn't find any infor

How to fix the error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running"

I am trying to spin up a docker container inside another docker container and I get this error: Cannot connect to the Docker daemon at unix:///var/run/docker.s

How to solve network connection when RUN yarn install in docker image build?

I have a peculiar problem occurring only in the Mac environment. When I run the docker build command to build my Node image, it is not able to fetch the package

docker for mac memory usage in com.docker.hyperkit

I'm running docker desktop community 2.1.0.3 on MacOS Mojave. I've got 8GB of memory allocated to Docker, which already seems like a lot (that's half my RAM). S

How to add config args to postgres service container in Github Action?

I am using Github Actions Service Container to start a postgres instance like so: name: Pull Request on: pull_request: branches: - main - sta

Docker container not accessible through server public IP (working only with UFW disabled)

I bought a VPS on Vultr (host system Ubuntu 22.04) with the example IP identified as 123.123.123 and tried to launch a new container with the following command:

Find out value of environment variables being passed to container by docker-compose

I'm troubleshooting a service that's failing to start because of an environment variable issue. I'd like to check out what the environment variables look like f

Azure DevOps - Static Web Apps failing within a Pipeline with container job

parameters: - name: App_VariableGroup type: string default: my-defaults values: - my-defaults trigger: - main pool: vmImage: ubuntu-late

Read time out when trying to list FTP server directory in Docker container on Linux

I have service that polls FTP server with LIST command. I use local passive mode, use FTPSClient with following setting: ftpClient.setTrustManager(TrustManagerU

How do I create an external volume using docker compose?

Basing on this Node-RED tutorial, I'm trying to mount an external volume with the Node-RED files outside the docker machine. I'm using the following docker-comp

npm permission issue in laravel docker setup

If I try and run the following in my docker setup docker-compose run --rm npm run dev I get the following error > dev > npm run development glob err