Questions tagged [docker]

Docker is an open source project that automates the deployment of applications inside software containers.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
10 views

How to get mp4 video to display from nginx

I am still getting the hang of nginx so please bear with me. I am trying to get a video to play for my website. The video will be typical background video with text sitting on top of it. I already ...
0 votes
0 answers
7 views

portainer.io recreate container via API

I'm using Portainer.io (docker container orchestrator similar to Ranch) and i want to pull the latest docker image and then recreate the container using that latest image. The documentation is not so ...
-1 votes
0 answers
14 views

Using the name of a docker interface in an ufw rule doesn't work (ERROR: Bad destination address) but corresponding IP does

172.17.0.0 is the default gateway of the docker0 interface: $ ip addr list docker0 | grep "inet " inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 If I can add an ufw rule as: ...
  • 103
-1 votes
0 answers
13 views

Redirect traffic public port to a docker port (mysql)

I have a ubuntu server with Docker Mysql container running. The server has a public IP: 1.1.1.1 (For example) And my Docker Mysql container has the IP 2.2.2.2 Both use 3306 ports. What should I config ...
0 votes
0 answers
14 views

wireguard docker, iptables and port forwarding to client

I have a dedicated server running Ubuntu 22.04 with a wireguard (wg-easy) server running in docker. (ip addresses are examples) Dedicated server Wireguard Docker IP Wireguard Client IP 142.250.70....
  • 21
0 votes
0 answers
22 views

Docker containers behind squid proxy do not use proxy DNS

I am trying to setup a VM in a private NAT to use a squid proxy running on a gateway VM to access the internet. I have configured the internal VM to use the proxy by setting http_proxy, https_proxy in ...
  • 1
0 votes
0 answers
7 views

Nginx stopped: host not found in upstream, IIS local site

I created a new site in IIS (local.account-custom-catalogs.abc.com) and I am able to ping the site as well, however, when I try to add the corresponding entry in the upstreams: upstream ...
-1 votes
0 answers
11 views

im trying to access command promt in an docker contain from my windows machine it was hung in that state "docker run -it 9da089657551 sh",

I'm trying to access command promt in an docker container from my windows 10 machine it was hung black state . Command > "docker run -it 9da089657551 sh", anyone has any idea how to ...
  • 1
0 votes
1 answer
25 views

Why docker container is not using all CPU available?

I'm comparing the performance of an application running within a docker container (windows server image, legacy .NET framework app) against the same application running directly in the host machine. ...
0 votes
0 answers
8 views

How can I find out which capabilities a docker container requires to run

Is there a way to determine the capabilities a docker container needs to run? Is there some kind of logging of unavailable capabilities when a container fails to run due to restrictions that would be ...
  • 111
0 votes
2 answers
13 views

Docker contecting to docker swarm service by using 127.0.0.1 as opposed to localhost

Connection to a docker swarm service published port hangs after connecting. I have deployed a docker service using the command below. docker service create --name my-nginx --replicas 1 --publish ...
  • 111
0 votes
1 answer
18 views

Difference between Linux image and other images in Docker

I have a question about container images, as I am learning more about containers and Docker. When I use Docker, I can run an Alpine image. But I can also run, let's say, a Node-alpine image, which ...
  • 11
-1 votes
2 answers
53 views

What does 799 mean in chown command for Docker volume access?

I found these lines in installation guide of Thingsboard IoT platform as Docker container. Without this trick Postgres (embedded in Docker image) cannot store its data to the directory on the host ...
  • 3
0 votes
0 answers
20 views

What's the difference between rootless Docker, running a container as a non-root user, and Podman?

Recently I've been trying to run my Docker application as a non-root user. I've seen there are several options available to me: Install rootless Docker : apparently this is a "non-root" ...
  • 113
0 votes
1 answer
32 views

Access Docker container hosting SFTP from remote machine

I've got a new Ubuntu install running Docker that I'm trying to use to host an SFTP server. I'm able to access the SFTP server from my local machine, but not within my local network. My docker-compose....
1 vote
0 answers
26 views

Why are docker container logs sent from ec2 to cloudwatch in batches using awslogs driver?

I have three docker containers running; server, proxy server and a daemon checking for changes between two databases. I've used docker-compose and an ec2 instance for testing. I would like to stream ...
0 votes
0 answers
29 views

Nginx Proxy Manager does not report correct client IP in logs

I am new to networking and ran into an issue where the nginx proxy manager logs (proxy-host-*_access.log) report "[Client 172.19.0.1]" for all traffic making it useless in identifying who is ...
  • 23
0 votes
1 answer
19 views

Data sharing between Linux servers/docker containers

I am building a webhosting, and we've come to an issue where the server simply cannot handle that many requests, and thus we decided to make our systems scalable. However, we've come to an issue, that ...
2 votes
0 answers
19 views

How to deploy a dockerised app to ubuntu

I’m trying to deploy an dockerised app on Ubuntu and I have: created a /var/www directory made this directory 777 set the ownership to my deployer user cloned my repo into /var/www/my-repo When I ...
0 votes
0 answers
14 views

Handling outgoing traffic of container

I have two containers, one of that is a VPN client connection and other is an Application I want to pass all the outgoing traffic of the Application container through the VPN container How can I do ...
0 votes
0 answers
17 views

What if I don't declare a reused volume in the top level `volumes` key of a compose file

The compose specification says: To reuse a volume across multiple services, a named volume MUST be declared in the top-level volumes key. I am currently trying to debug an application with a docker ...
0 votes
0 answers
33 views

Docker container loses Internet access after setting Docker to use manually created bridge

I need a bridge network for QEMU/KVM virtual machines. But then, if I just install Docker, virtual machines lose Internet access. The solution I have found was making Docker use that existing bridge ...
0 votes
1 answer
18 views

Error running an Docker container or docker compose with postgres, golang and Debian 11, Agora appbuilder backend

I spun up a Debian 11 EC2 on AWS, and installed postgres 14.5 on it and docker and docker compose on it.I added a superuser to postgres of "admin' with a password. I created my docker-compose.yml ...
  • 25
0 votes
1 answer
20 views

Trying to install Wordpress locally by using docker where some folder symlinked to my git directory

Using this image with docker-compose.yml: https://hub.docker.com/_/wordpress Everything done by the book and it works till I tried to symlinks some folders to my git repository. This is the part of my ...
  • 140
0 votes
1 answer
15 views

Not able to change the redirect path using ngnix on docker

I am unable to change the redirect path while using ngnix on docker. I am explaining my code below. location / { # rewrite ^/static(.*) /$1 break; # root /static; return 301 $...
0 votes
0 answers
23 views

How vps instance like aws, google cloud,... scale with containers?

As I understand. K8s will use the blueprint to create multiple containers on the same machine. But how this gonna help the scalability. For example, my laptop got 2 pods of backend servers and they ...
0 votes
0 answers
42 views

How to convert this from nginx to haproxy?

I'm new to haproxy and still trying to grasp how it works, how would something like this translates to haproxy? I have a dockerized services hence the name of the ip upstream client_upstream { ...
-1 votes
0 answers
33 views

Cannot access Debian Docker container by SSH

I am addressing this question as I have a hard time connecting by SSH to a Docker container based on arm64v8/debian image. The sshd service seems to be running properly: ssh.service - OpenBSD Secure ...
0 votes
0 answers
14 views

Jenkins job running node not specified

I have a label in my jenkinsfile to run on a node, using a config file to hold the values. node(config.agent.slave01){ /// do my stuff } The job runs on this node for a second, then switches to the ...
1 vote
1 answer
27 views

Podman (or docker) running a MySQL container and a shared data directory

I am running a Ubuntu 20.04.5 LTS virtual machine for my development environment. In the past I have run multiple VM's to host databases, web servers, etc, as I need them for projects. So in short, I ...
0 votes
0 answers
23 views

How to solve "An invalid response was received from the upstream server" on Kong Gateway?

I'm using docker with compose and I've created some microservices and I'm trying to connect them through Kong Gateway. To access the MSs with PHP I created in Nginx the reverse proxy where I can ...
-1 votes
1 answer
23 views

Two containers or two separate machines?

At the moment I have one dedicated server on one container - a scraper for data, on the second container - database, and frontend for browsing these data. Next month we must migrate to a new machine, ...
0 votes
0 answers
18 views

Improve my actual docker backup system

I've a personal documentation/git environment running on vmware. I'm actually making manual backup on an offline media with Duplicati (that I love!) I backup the entire virtual machine folder! And i ...
  • 121
0 votes
0 answers
18 views

Assets returning 504 when port is not specified in the browser using an nginx reverse proxy

If I visit hxxp://grafana.home.lan, I received a 110 connection timed out error on some assets which do not allow the application to work correctly, in this case, Grafana. Though, I will add this is ...
0 votes
1 answer
67 views

When installing docker on Ubuntu, why isn't it as easy as apt-get install docker?

I've installed docker a dozen times on Ubuntu using the instructions on the docker website (7 commands including removing old versions, adding a gpg keychain etc). I always just powered through, but ...
  • 715
0 votes
1 answer
26 views

Run Docker Registry behind iptables

I am trying to run a private docker registry on my CentOS 7 VPS which is running httpd apache and iptables. When I start the container, docker run -it -p 5017:5000 --name registry registry, I try to ...
  • 101
0 votes
0 answers
17 views

Can't Access Docker Registry 2 locally through curl or remotely - Private Docker Registry

I have been trying to run the Docker Registry on my VPS but I have had no luck. I have been reading the docs here, following guides like Digital Ocean, as well as Googling and following other ...
  • 101
0 votes
3 answers
65 views

Crontab not found in docker image

I have a docker image set up by another person, and it doesn't seem to have cron installed. When I tried to run crontab -l (be it as a root or non-root user), it says command not found. But I do see /...
  • 201
0 votes
1 answer
49 views

Swarm nodes cannot communicate

I have a couple of machines running Ubuntu Server 22.04.1 LTS and Docker version 20.10.17. I've set up a swarm containing both the machines. These machines have ports tcp/2377, udp/4789, udp/7946, and ...
  • 101
0 votes
0 answers
120 views

Use smb share also as docker volume

I've one Debian 11 Server which has multiple smb-shares under /samba/. Now I'd like to run multiple instances of a file synchronisation software called Syncthing inside docker containers on this ...
0 votes
0 answers
26 views

Nginx WebDAV in Docker in Pacemaker with Windows 11 client converts space symbol into %20

I try to make a WebDAV share compatible with Windows 11 client using Debian 11, Nginx, Docker in Pacemaker cluster with two nodes and one quorum node. I found https://github.com/dgraziotin/docker-...
1 vote
1 answer
764 views

MYSQL: Upgrade is not supported after a crash or shutdown with innodb_fast_shutdown = 2

I have a mysql server running in a docker container. I tried to upgrade the database from version 8.0.29 to version 8.0.30. However, when starting, the following error occurred: 2022-09-06T13:13:39....
0 votes
1 answer
45 views

Docker complains "Address already in use" after docker restart command

I am having a weird issue with my docker container. Everything works fine when dockers daemon starts up for the first time, but when docker is asked to restart a container, it will complain about ...
  • 289
1 vote
1 answer
68 views

Docker nginx ssl error

When I raise the container, I get the following errors: nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh nginx | /docker-entrypoint.sh: Configuration ...
  • 45
0 votes
0 answers
22 views

iproute2 with second gateway not working with docker-container of mailcow

im currently setting up an mailcow instance. My plan is to give the server a public ip-address alongside with an internal ip-address. The mailserver itself should use the public-address while the ...
1 vote
1 answer
19 views

Hide mount point in docker container

I've a docker host and a NFS server sharing a path like /storage to the docker host. I can mount the NFS share directly on the docker host or use a NFS volume to access the data on the share. Of ...
  • 438
1 vote
0 answers
31 views

Moving folders while building a podman container

I am creating a container for Podman that runs Samba Active Directory as a Primary Domain Controller and with Bind DNS backend. It is based of a previous container that I made which had volume ...
0 votes
0 answers
21 views

How to update security patches in azure container registry automatically?

Scenario: There is an azure container registry(acr) with many repositories (around 20) Each repository has different tags like image:dev0.1, dev0.2, prod0.1, prod0.2 There are more than 100 images ...
0 votes
1 answer
17 views

MongoDB Container Docker not working. MacOS

Any time I try to access my container it shows the path isn't found? I get this error "mongo": executable file not found in $PATH: unknown How can I fix this? Docker-compose file and output
0 votes
0 answers
64 views

Wireguard port forwarding doesn't work with docker

I installed pterodactyl panel (software that uses docker and creates game servers with a web interface) but I can't connect to any servers that I create on it. My dedicated server is connected to 2 ...

1
2 3 4 5
79