Category "docker"

Docker Container doesn't run after creating an image

I'm very new to Docker, so apologies for my lack of knowledge. The Docker I'm creating is for a Python Django project. I'm also using Celery, RabbitMQ, and MySQ

Block Docker container ports with iptables/firewalld

I have an docker-compose deployment with a container, e.g.: version: "3" services: web: image: nginx ports: - "8080:80" Docker version is 20.10.

Issuing a command within a docker container to kill it

I'd like to use a bash script within a container to check if the service is running. I will call this script from docker-compose using the Healthcheck function,

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"