Questions tagged [Docker] (777)

1
answer

Docker as it is better to separate containers?

Hello. I have a web app API (ASP NET CORE) + monga, I divided them up in boxes and everything started - everything seems fine, but I don't want to make mistakes which then will come out sideways. 1) the Way Mongo was obtained from here https://hub.docker.com/_/mongo in their examples, there is no word on what you need to sh...
Kyleigh.Cart asked March 27th 20 at 13:45
1
answer

How to configure CORS for Socket.io within a Docker container + PM2?

When you try to start your Express app within a docker container get the following error. Tried to install npm cors Headers added by hand. Everything works fine outside of docker or container, with or without Pm2, and together do not want. Same thing with forever. I will be glad to ideas.
Baron53 asked March 27th 20 at 13:42
1
answer

What's the Windows license needed to run on a virtual machine?

Good day! I have a VM on Ubuntu, there is a Docker image with Windows 10 in. It is expected that both will run up to 4 containers. I understand that the normal license is not suitable for it? What license I need in this case. I read on the website of Microsoft about this - it turns out that Windows Server Standard kind of m...
gilbert98 asked March 27th 20 at 13:34
0
answer

Errors about run docker on Windows?

Hello! Prompt, please, on Windows installed Docker and trying to run, but get error how to solve? Run the command: docker-compose build --no-cache docker-compose up-d --force-recreateError: Error starting userland proxy: listen tcp 127.0.0.1:80: bind: Only one usage of each socket address (protocol/network address/port) is...
berenice_Schinn asked March 27th 20 at 13:34
1
answer

As ograniciti access docker container?

The collection of metrics occurs through node-exporter who works in the container. Tried to add a rule to a chain docker and docker-user, but still the container is accessible to all. How ograniciti access to the container?
charlotte_Aufderhar77 asked March 27th 20 at 13:28
1
answer

Why do I get error "Socket error [111]: Connection refused" in the Docker?

Is the main OS - Ubuntu, there are additional operating systems where you deployed the website opt.loc (written on php)-Docker.. Check in the main OS (I need to figure out which ports are open -I see they are closed: 80,443.): :~$ nmap-p80,443 opt.loc Starting Nmap 7.60 ( https://nmap.org ) 2019-08-21 at 17:05 MSK Nmap sca...
Joan_Wel asked March 27th 20 at 13:24
1
answer

How to make livereload for the php in Docker?

Good day. It is no secret that the main disadvantage of Docker is to the disadvantage of the development: every time after modifying the files necessary to do a docker cp to copy the changes into the container. However, the volume seemingly provides a way to associate a directory in the container directory on the host machi...
guido_Rodrigue asked March 27th 20 at 13:23
1
answer

How to fix when you run docker from networks-runner error search networks-runner-cache?

Try to run build via networks-runner docker:$ networks-runner exec docker build:deb ERRO[0000] Docker executor: prebuilt image helpers will be loaded from /var/lib/networks-runner. Running with networks-runner 11.2.0 (11.2.0) Using the Docker executor with the debian image:buster ... ERROR: Preparation failed: Error respon...
kayli_Luettgen asked March 27th 20 at 13:15
1
answer

Why when you run the application with log4j in the Docker and no messages are displayed in different format?

Normally apps get messages with level INFO in json format when run in a Docker container with the same level of INFO - you get the usual line. What could be the problem? Here he config file logger:Configuration: Appenders: Console: name: Console JsonLayout: complete: true compact: true eventEol: true target. SYSTEM_OU...
Laverne asked March 27th 20 at 13:11
1
answer

Why Docker opens port 80, where it should not be?

Good morning. Actually, there is a project with two microservices: site and users. I need to site to be available on port 80, and users all external ports would be closed. To do this, use the following configuration:Dockerfile \ siteFROM php:7.2.19-apache # then just install it, NO directives, just RUN EXPOSE 80Dockerfile...
jaiden_Herman asked March 27th 20 at 13:07