Questions tagged as 'docker'

1
answer

remove files from inside the container after the build. Can you do it?

How to delete files after build? I am "building" an image with a google cloud key, so I can not leave this key inside the container, for security reasons. The problem is that if I do not, google cloud will not authenticate. Or is there another w...
asked by 04.12.2017 / 15:57
1
answer

Where is the Docker Store located on Ubuntu?

I'm studying docker, so this question I'm asking is a beginner. Images are the files that contain the configuration of the machine you want to create. Container is an instance of this image running and working. The Docker Store is the re...
asked by 03.08.2017 / 14:53
1
answer

Automatically set docker port

I'm using docker to develop my web applications, but I realized that I need to run multiple projects at the same time on my machine. As these projects basically require the same containers, which are apache and mysql, whenever I start some proje...
asked by 21.06.2017 / 03:39
1
answer

Docker Compose Link and Network

I'm using Docker Compose to upload my containers into Docker , the problem I'm having is to link between one container and another. My Docker Compose : version: '3' services: DB: image: postgres:9.6.0 ports: - "5430:5432"...
asked by 28.07.2017 / 14:27
1
answer

The operation of Docker Network

I've always wanted to have a server so that I could learn about DevOps and so on. Here's an old computer here with reasonable settings: i5, 8GB RAM and 500Gb HDD. I started to study about Docker and wondered if I would always have to bind the ac...
asked by 18.07.2017 / 20:03
1
answer

Docker ubuntu not starta

I've created a ubuntu container that follows the test: AndthenIstartedthestartinthecontainer Notethatabovedoesnothaveanyerrors,butthecontainerdoesnotrotate,asshownbelow     
asked by 27.05.2017 / 23:52
2
answers

Network interfaces in docker

In VirtualBox we have the network interfaces, for example, bridge, nat, host, etc ... My question is, in Docker do I expose a port only to the host host? Something that in VirtualBox would be equivalent to the "host-only" interface. The idea...
asked by 27.05.2017 / 05:00
1
answer

Restore base in container with Postgres

I am using a container with postgres on an EC2 server and I want to restore a base in this container via linux command. Any tips? I was trying as follows: sudo docker exec -t postgres_94 pg_restore -c -U postgres > minha_base.backup    ...
asked by 27.10.2016 / 20:30
1
answer

Docker and Nodejs

I have an application in NodeJs and I need to configure the architecture of this application, I'm new to Docker and I need to create some containers for this application, the application should have the following configuration: -- Contai...
asked by 25.10.2016 / 20:29
1
answer

Build Failing in PHP Project on Travis-CI

I'm trying to build nightly builds of a PHP project on Travis-CI but I'm catching up. My builds are failing because Travis-CI says it does not find the composer. There are more details in the log below. Using worker: worker-linux-docker-c22a...
asked by 28.03.2015 / 22:10