Category "docker"

how to specify -v /var/run/docker.sock in ECS Task Definition - Container Definition in AWS

How do i specify -v /var/run/docker.sock to a container definition in task definition in AWS ECS using EC2 instances? I need to run docker commands inside a doc

Docker Desktop with Docker Compose usage

All we have such a dashboard in Docker Desktop, where we can look at containers that were started with Docker-Compose. At the picture below I have 3 containers

Docker and Node .mjs files

I have an express application with all the JS files using the *.mjs extension. So, to start the server I do node index.mjs and it works as expected. Now I'm try

Custom Lambda image - getting aws-lambda-ric error when trying to run Lambda

I've build a NodeJS project, which I need to run on a custom Docker image. This is my Dockerfile: FROM public.ecr.aws/lambda/nodejs:14-x86_64 # Create app dire

RabbitMQ not working when services are dockerized

So I have 2 services. Kweet (which is a tweet) and User. When I run the 2 services manually + rest of the services in docker, it works. Rest of services include

NodeJS Typeorm doesn't see host in docker

I have 2 dockers composes. 1 implements an infrastructure with a reverse proxy, databases, database admins, etc. version: '3.7' volumes: mysql80_volume:

debian:jessie docker image does not install Nginx with HTTP/2 support

I have this Dockerfile: FROM debian:jessie ARG ENV_APP ARG ENV_SMF RUN apt-get update && apt-get install -y nginx ADD conf.d/nginx.conf /etc/nginx/ A

Using Stripe CLI correctly in docker

I would like to use Stripe CLI in docker. I have to mention that I am new to docker. I have loaded stripe/stripe-cli from dockerHub. docker run --rm -it stripe

password authentication failed while trying to connect into my docker database

I'm following this tutorial and the guy uses docker with postgres which I've never used honestly. I created a docker-compose.yml file with the following fields:

How to deploy nodejs Azure function to azure with docker?

This is my first time playing with azure. I have a simple tool written which has to fetch some data from the postgres db, and send it to a MS teams channel. All

Docker "no data received" on host, but data in container

I'm trying to host a Linux Mint container that starts a simple Angular server and listens on port 4200. I'm in a very tight environment, with no admin authority

Azure Python container and how to pass in New Relic app name

So I have a docker container with a python app and new relic python agent. In azure devops, I push the container to my registry, and then release it to a web ap

MLflow: Unable to store artifacts to S3

I'm running my mlflow tracking server in a docker container on a remote server and trying to log mlflow runs from local computer with the eventual goal that any

Is there any way to expose a port from a docker container without using port mapping or getting a randomized container port?

I have a nginx docker container that I am trying to host on azure container instances. For the sake of this question, let's just assume that I'm only interestin

Integrating streamlit with Docker not working

I am trying to integrate Streamlit with Docker. Means, I am trying to make a container where the python code is using streamlit. The app.py is: import streamlit

Socket on docker

I have written 3 pyhton script working on local and connected with socket. I want to create docker containers for each script (one script = one container). But

Select interpreter of docker container in the vscode

In vscode, we can install the python extension, then select the interpreter which we want, like python in the conda environment. So we can use "shift" + "enter"

Can't fetch user info from Keycloak using Python on docker compose

I need to run, from docker compose, three containers: a fastapi server, a keycloack server and a postgres database. This works well if I run the uvicorn command

Docker rabbitmq doesn't work with RABBITMQ_DEFAULT_USER and RABBITMQ_DEFAULT_PASS

I'm trying to run rabbitmq service with following configuration: version: '3.9' services: rabbit-mq: container_name: rabbitmq image: rabbitmq:3-manage

Is there a way to deploy x86 images on a Apple silicon (ARM) using docker stack?

We have a docker stack compose file using services built for x86. To get our dev-setup running locally on my Apple silicon/m1/ARM chip, I tried to deploy the st