-
Notifications
You must be signed in to change notification settings - Fork 0
Presentation
Andrzej Sydor edited this page Feb 25, 2018
·
3 revisions
Docker - introduction
docker volume ls
Replace volume ID with your own
docker container run -d --name <container> -v <volume_id>:/data nginx-test
View the volume content
docker container exec <container> -lhat /data
docker volume create <volume_name>
docker container run -d --name <container_name> -v <volume_name>:/data --network <network_name> <container>
docker volume inspect <volume_name>
docker volume prune
- provide interfaces to several public cloud providers:
- Amazon Web Services
- Microsoft Azure
- DigitalOcean
- Exoscale
- Coogle Compute Engine
- Rackspace
- IBM SoftLayer
- Self-hosted VM/Cloud platforms
- Microsoft Hyper-V
- OpenStack
- VMmare vSphere
- Locally hosted hypervisiors
- Oracle VirtualBox
- VMmare Fusion
- VMmare Workstation
docker-machine create --driver virtualbox docker-local
docker-machine env docker-local
docker-machine ls
docker-machine ssh docker-local
docker-machine ip docker-local