Skip to content

yourlabs/yourlabs.docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yourlabs.docker Ansible role

One-liner to run dockerd with a firewall:

bigsudo yourlabs.docker @host

Best to run after bigsudo yourlabs.ssh @host.

Extra BigSudo Commands

Install a yourlabs-docker-prune systemd timer:

bigsudo yourlabs.docker prunecron @host

Will run docker system prune --all --force --volumes every night at midnight.

For prune only one time, run:

bigsudo yourlabs.docker prune @host

Vagrant/VirtualBox

You can work in a VM if you have vagrant:

cd yourlabs.docker && vagrant destroy -f && vagrant up
vagrant ssh-config > ssh && bigsudo . @default --ssh-common-args="-F ssh" -v

About

Deploy docker from scratch over ssh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published