All Questions
20 questions
3
votes
1
answer
500
views
Docker container fails to answer respond to HTTP request from host machine
I want to deploy an API on a server (Ubuntu 18.04) with Docker (container: Ubuntu 22.04). I previously deployed the API with the same config on another server without any issue.
While being built ...
0
votes
0
answers
316
views
Why the nginx docker container stopped by Systemd?
I encountered an issue today with the Nginx service running as a container on our Ubuntu 20.04.6 LTS server. The service was in a stopped state, and I had to restart it manually.
I've attached a ...
0
votes
0
answers
254
views
Map the .local domain and subdomain for docker container in ubuntu 22.04
I have a Linux server with Ubuntu 2022, whose IP is 192.168.100.82, and to access applications running on Docker, I need to enter the IP address and port, there are three applications on ports 3000, ...
0
votes
0
answers
1k
views
Problem connecting to PostgresSql from Docker container
I have two Ubuntu Servers 20.04 with an external IP of 185.253.74.227
The first server has a local IP 192.168.1.30 on which I have nginx running and I host my Docker containers on it.
The second ...
0
votes
0
answers
270
views
Why does my network stop working when adding a second IP to a second NIC in netplan and starting a docker container exposed on that nic's IP?
"Stop working" might be an overstatement, but parts of it do, and I don't know enough about what's happening to phrase it shorter for a title.
Basically, I have
A machine with 2 nic ...
1
vote
1
answer
251
views
Website aside Mailu Docker image
I'm running a recent (V1.9) docker image of Mailu on Ubuntu server 22.04.
Now how can I run a website with some php besides this?
The Mailu server has an webmail page that runs on port 80 and 443, in ...
1
vote
1
answer
4k
views
How to add self-signed certificate to docker nginx:alpine
This is my-compose.yml definition
nginx:
image: "nginx:alpine"
ports:
- 5000:80
links:
- registry:registry
volumes:
- ./auth:/etc/nginx/conf.d
- ./auth/nginx.conf:/...
0
votes
1
answer
816
views
Error on NGINX 1.18 after installing on Ubuntu 20.04
I've built a docker image by installing NGINX 1.18 on Ubuntu 20.04 base os. While running, we see this error message :
nginx: [emerg] open() "/etc/nginx/modules-enabled/50-mod-http-image-filter....
1
vote
0
answers
417
views
Renew Let's encrypt certificate automatically without stopping nginx hosted on docker
I am using nginx as proxy and SSL termination for the site hosted on docker. App & nginx both are on docker. I have installed Let's encrypt SSL using Certbot directly on Ubuntu server. And now ...
1
vote
0
answers
105
views
Turning Ubuntu 18.04 Server into the Most Efficiently Wordpress Hosting Server (architecture)
Dear advanced programmers,
Till now I have been using a Linux (3 core, NVME, Ubuntu 20.04) Ubuntu VPS Server to host just 5 WordPress websites, using Apache2, MySQL, PHP, certbot (doing option 2 HTTP-&...
0
votes
2
answers
11k
views
Docker MySQL error no 'mysql' table
When I'm trying to boot up containers it fails
logs
➜ enigma git:(master) ✗ docker-compose up --build
Starting db ... done
Starting nginx ... done
Starting pma ... done
Attaching to db, nginx, ...
1
vote
1
answer
2k
views
docker run command ends up in : nginx: [emerg] unknown directive "events" in /etc/nginx/nginx.conf:1
I have installed nginx-extras from Ubuntu bash shell in my desktop Windows 10 O.S. The is required to spin up a docker container for an ASP.NET Core 3.1 Blazor web assembly application for serving the ...
0
votes
1
answer
50
views
Crontab doens't have effects
I'm running the following command using crontab on Ubuntu 18.04. I can see inside /var/log/syslog that the command is performed, but it has not effect. The command is performed but it has not effect:
...
2
votes
1
answer
402
views
Apache and Nginx on same disk
I've been working with LAMP systems on Ubuntu server for a few years, mainly as platform for CMS systems (WordPress, Drupal, etc.).
Now I would like to start using Nginx in a LEMP system.
As I have a ...
1
vote
1
answer
506
views
Unable to access Docker NGINX on 18.04 LTS
I'm running Ubuntu 18.04 LTS.
> docker-version
Docker version 18.06.0-ce, build 0ffa825
I run:
> docker run --name my-nginx-1 -P -d nginx
> docker port my-nginx-1
80/tcp -> 0.0.0.0:...
2
votes
1
answer
7k
views
How to configure docker registry with nginx
I configure a private docker registry server to store images. I am Ubuntu 18.04.
I have a problem in the interaction between the nginx container and the registry container.
Very slow speed when ...
7
votes
1
answer
14k
views
Restarting nginx in a Docker container
My Docker container doesn't seem to have the service command. How would I restart nginx?
E.g.
# uname -r
3.13.0-119-generic
bash-4.3# uname -a
Linux <container id> 3.13.0-119-generic #166-...
1
vote
2
answers
2k
views
set nginx server_name variable from command
root@username:/home/dokku/appname# cat nginx.conf
server {
listen [::]:80;
listen 80;
server_name appname.wrongname.co.uk ;
access_log /var/log/nginx/appname-access.log;
...
1
vote
0
answers
1k
views
Nginx autostart on Docker (ubuntu:trusty image)
I have installed nginx to Docker container (container from ubuntu:trusty image).
And every time when I call docker stop nginx and after docker start nginx, my nginx server in shut down state.
How ...
0
votes
1
answer
2k
views
Testing nginx in a Docker container in on Ubuntu Core?
Followed Setting up Ubuntu Core on a KVM
It shows you how to start the vm and forward ports back to your host machine.
Followed Snappy Tour
It shows you how to install Docker on Ubuntu Core
...