Questions tagged as 'docker'

1
answer

How do I run background applications using Docker?

I'm trying to run my application in Python inside a container, but I need to install a proxy dependency that I use: Luminati, the problem is that apparently the luminati is not running in the background after I initialize the container. I trie...
asked by 30.07.2018 / 18:48
1
answer

Adding PHP Extensions in Docker Compose

What would be the best way to add PHP extensions like the GD library among others directly in docker-compose.yml? My file is as below: nginx: image: tutum/nginx ports: - "80:80" links: - phpfpm volumes:...
asked by 05.08.2018 / 20:36
1
answer

How to use auto-reload (browserSync) on the ionic server when in a Docker container?

I performed the installation of ionic 3.20 on a Docker container. Everything works perfectly, but I'm having difficulty using the auto-refresh feature, when I change a file the content is not synchronized with the browser, a...
asked by 11.09.2018 / 07:10
1
answer

How to assign retrieve the ip of a service inside the docker-composer?

I am trying to get zabbix in docker, I created a docker-compose with several services, one of them is the database. I need to raise the database first and then get the ip of the database and set the environment variable for other services, howev...
asked by 13.07.2018 / 23:19
1
answer

How can I register a route in IIS for my docker container?

I have a HTTP service that I am making available within a docker container . So far for all my HTTP services I'd create a redirection rule (URL Rewrite) in IIS that allowed my services to be available on a port other than the...
asked by 15.02.2018 / 11:13
1
answer

Error while running dockerfile

I have a dockerfile that runs an application on node.js FROM node RUN npm install mongoose RUN useradd --user-group --create-home --shell /bin/false app &&\ npm install --global [email protected] ENV HOME=/home/app COPY packag...
asked by 05.02.2018 / 20:35
1
answer

How to expose more than one port in a Docker container?

I have a docker container that has redis and xdebug installed. A Redis client installed on the host needs to access this service through port 6379 and on the host intellij must access port 9000 to debug with xdebug. My question is what is...
asked by 16.11.2017 / 18:12
2
answers

How do docker respond to a domain that does not exist in / etc / hosts?

In my hosts file I have only the following following domains: 127.0.0.1 localhost 127.0.0.1 abc.com When I run the image I use the following command: docker run -p 80:80 -v /Users/userName/Documents/siteABC:/var/www/html my_image...
asked by 17.11.2017 / 18:09
1
answer

Change the docker-compose reflects in the current container?

If I change the exposed port on my docker-compose , does it change the current container when I run docker-compose up -d ?     
asked by 18.10.2017 / 15:03
2
answers

Doubts the configuration of docker-compose and Dockerfile

Upload a small development environment. There are 2 containers: mysql (mysql: 5.7) web (php: 7.1-apache) My question is in a docker-compose.yml and Dockerfile configuration parameter, respectively: ports EXPOSE What's the diffe...
asked by 06.10.2017 / 17:50