Questions tagged as 'docker'

1
answer

Docker error: Can not connect to the Docker daemon. Is the docker daemon running on this host? [closed]

I'm new to Docker, and I'm having a problem when I view existing containers or any other information. When running for example:                 Docker ps. You receive the following error message: Can not connect to the Docker daemon. Is the d...
asked by 24.12.2015 / 06:59
1
answer

When the container does not know the host name?

I created a container in docker and it tries to access a host called pgmaster. On the machine where docker is installed I added the following host: 10.0.0.3 pgmaster to /etc/hosts . So much when I try to make an ssh works perfectly:...
asked by 03.05.2018 / 17:30
1
answer

Docker and Shared Folders by VirtualBox

I need a help, guys. My scenario is as follows: I have Windows 10 installed on my computer. In Windows 10 I installed Virtualbox. In Virtualbox I created a VM and installed Debian. Now, inside Debian, I installed Docker. In Virtualbox, I'v...
asked by 18.01.2018 / 04:07
1
answer

With Docker, should I use Composer in the container or the host?

I have some doubts about the development environment. I have a project in Laravel and I'm using Docker. When will you use Laravel's Composer or Artisan, what is the right place to do it? On my host machine or in the Docker container?     
asked by 05.10.2017 / 21:47
1
answer

Convert .log file to .txt in Bash

Hello, I would like to know how to convert a generated .log file into a container in Docker and convert it to a txt file using Bash.     
asked by 13.09.2017 / 15:55
1
answer

How to make the IDE communicate with xDebug inside a container (docker)?

I have a container network created with docker-compose . The xDebug settings are passed in part by the .yml file and partly by a .ini file consumed by PHP. I know xdebug is installed correctly in the container because it a...
asked by 13.03.2017 / 04:28
2
answers

Point to a Docker container with apache

Personally, I'm starting to use Docker, but I still have a lot of questions and one of them is how to point a domain to a specific container. Firstly I created a Container with a php and apache image in the version I needed and made the link...
asked by 18.04.2017 / 16:31
1
answer

Location container docker on host

Since I started using docker last year, to directly access the files in my container I used the following steps: docker inspect -f '{{.Id}}' container_id It returns me the full id container With the full id container I would go to the...
asked by 31.03.2016 / 19:52
1
answer

How to generate grafana container correctly?

I installed the grafana container via docker as follows: docker run -d --name=grafana \ --restart always \ -p 5000:3000 \ -e "GF_SERVER_PROTOCOL=http" \ -e "GF_SERVER_ROOT_URL=http://meuIP" \ -e "GF_SERVER_HTTP_PORT=3000" \ -v /docker/grafana/...
asked by 20.09.2018 / 16:16
1
answer

Database connection problem with Docker

I migrated my application to a Docker container, it was working fine, until one moment I had to change the bank population scripts and I recreated the bank, however I had this problem that I do not know how to solve, I already tried to modify th...
asked by 23.07.2018 / 19:48