Chapter5 Avril 2018¶
See also
- Local development workflow with Docker
- Working with volumes
- Objectives
- Working with volumes
- Volumes are special directories in a container
- Volumes bypass the copy-on-write system
- Volumes can be shared across containers
- Sharing app server logs with another container
- Volumes exist independently of containers
- Naming volumes
- Using our named volumes
- Using a volume in another container
- Managing volumes explicitly
- Migrating data with –volumes-from
- Data migration in practice
- Upgrading Redis
- Testing the new Redis
- Volumes lifecycle
- Checking volumes defined by an image
- Checking volumes used by a container
- Sharing a single file
- Volume plugins
- Volumes vs. Mounts
- –mount syntax
- Section summary
- Compose for development stacks
- Compose for development stacks
- What is Docker Compose ?
- Compose overview
- Checking if Compose is installed
- Launching Our First Stack with Compose
- Launching Our First Stack with Compose
- Stopping the app
- The docker-compose.yml file
- Compose file versions
- Containers in docker-compose.yml
- Container parameters
- Compose commands
- Check container status
- Cleaning up (1)
- Cleaning up (2)
- Special handling of volumes
- Compose project name
- Running two copies of the same app
- Managing hosts with Docker Machine