Stream

Join this community to post or comment

Paul Cozma

Discussion  - 
 
So, im new to docker, but i am trying to make a docker compose file to run it and to mount a container in order to work on drupal 8 theme files, sites folder configuration, but all i get is an empty folder. this is my file.
version: '2'

services:
drupal:
image: drupal:latest
ports:
- 8090:80
volumes:
- ./work:/var/www/html
links:
- mariadb
mariadb:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: pass
MYSQL_DATABASE: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: pass

1
Paul Cozma's profile photoNicolas Vidot's profile photo
12 comments
 
+Paul Cozma​ a host folder when mounted hides the container folder. Thus the existing files of the drupal container are not visible once the host folder is mounted. Maybe in the WordPress container the folder is populated once the container is started and thus the files are written to the mounted folder, the host folder. Maybe the drupal container already have the files in the container before he get started. Thus they don't get to be written. If you were to use a named volume but not one of your folder then the mounted volume would receive the content of the existing folder (the mountpoint). Have a look at the docker doc, you'll find examples.
Add a comment...

Daniel Berman

Discussion  - 
 
Took a look at Portainer and logging options for Docker 
Portainer may not be a logging solution for Docker, but it is an extremely useful and easy-to-use UI for the container platform.
10
2
Add a comment...
 
 
Learn how to Run Docker Container on CoreOS etcd Cluster. #cluster   #etcd   #docker   #linoxide  
4
1
Add a comment...

Justlife

Show and tell  - 
1
Bernard Tremblay's profile photoDean Williams's profile photo
3 comments
 
Containers FTW
Add a comment...

Justlife

Show and tell  - 
 
Port of Antwerp 
 ·  Translate
1
Add a comment...

Igor Šarčević

Show and tell  - 
 
Learn how to keep your #Docker images light and blazing fast.
Lightweight Docker Images in 5 Steps. Lightweight Docker Images Speed Up Deployment. Deploying your services packaged in lightweight Docker images has many practical benefits. In a container, your service usually comes with all the dependencies it needs to run, it's isolated from the rest of the ...
25
5
Add a comment...

Deborah P

Discussion  - 
 
Want to learn #Docker? This eBook is for you. And it's free today - http://bit.ly/Free-Tech-Learning

• Learn to compose, use, and publish the Docker containers
• Leverage the features of Docker to deploy your existing applications
• Explore real world examples of securing and managing Docker containers

14
5
Add a comment...

Roberto Banda

Show and tell  - 
# Installation **Host** `host#prompt> docker pull ubuntu:14.04` **DB Master** ``` host#prompt> docker run -it --...
7
2
Add a comment...

Jordan Cohen

Tips and tricks  - 
 
Had a little hacky fun with docker yesterday... used socat to relay the docker.sock inside my Jenkins container. Just thought I would share... might be useful to someone else.
2
Add a comment...

Zhilu Shi

Discussion  - 
 
Deploy Docker Containers to Azure Web Apps on Linux
The PaaS (Platform as a Service) offerings within Microsoft Azure have been getting expanded out pretty impressively lately. The “extreme PaaS” that is the serverless computing of Azure…
6
Add a comment...

About this community

News and discussion about Docker, an open source project to pack, ship and run any application as a lightweight container

Victor Coisne

Show and tell  - 
 
Check out the #dockercon speaker lineup! 
2
Add a comment...

Tim Epkes

Discussion  - 
 
Anybody know how to create a point to point network connection between 2 docker images without using a bridge? When using LXC's you could do a manual method using veth's, but don't see that mechanism in docker.
1
Add a comment...

Nane Kratzke

Discussion  - 
 
We are happy that our publication "Understanding Cloud-native Applications after 10 Years of Cloud Computing" has been accepted by "Journal of Systems and Software".

https://www.researchgate.net/publication/312045183_Understanding_Cloud-native_Applications_after_10_Years_of_Cloud_Computing_-_A_Systematic_Mapping_Study
7
Add a comment...
 
 
Learn how to Setup Go in Docker and Deploy an Application. #docker   #linoxide  
8
2
Add a comment...

Angelo Luciani

Tips and tricks  - 
 
Getting Started with Docker on the Mac

My first blog post on Docker, let me know what you think

#Docker #Virtual
One of the easiest way to get started learning about Docker is installing it on your local machine. I use a Mac and the steps will get you started.
7
3
Add a comment...

Daniel Berman

Discussion  - 
 
Overview of the Docker Datacenter
How the Docker Datacenter can work with existing cloud platforms when setting up internal containers-as-a-service (CaaS) environments.
4
1
Add a comment...

Linux Trends

Show and tell  - 
 
 
Learn how to Setup and Run Docker Data Volumes. #docker   #data   #linoxide  
2
2
Lionel FÉLICITÉ's profile photo
 
Hi. Thanks for this article. You maybe made an 'error':
You wrote 'we can use --from-volumes' but in the example and After you wrote '--volumes-from'.
Cann you correct ut, please?
Add a comment...
 
 
Learn how to create and use Kubernetes Secrets. #kuberenetes   #linoxide  
7
Add a comment...

Ain Tohvri

Show and tell  - 
 
Docker for Mac is still the slowest on Mac. Unfortunately so. #docker #devops #performance
1
1
Belisko Marek's profile photoAin Tohvri's profile photo
4 comments
 
+Belisko Marek nice. I've also used docker-osx-dev that basically rsyncs over to the container. It's the fastest option I've seen, but there's also a huge downside, it's one way only.
Add a comment...

Leo G

Discussion  - 
 
A few bash scripting tutorials to use on docker
11
2
Add a comment...