This shows you the differences between two versions of the page.
raspberrypi4docker [2019/09/04 20:51] ian |
raspberrypi4docker [2020/02/13 22:55] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Docker install on the Raspberry Pi 4 ====== | ||
- | The default '' | ||
- | |||
- | 1. Run the following commands as root to install '' | ||
- | |||
- | < | ||
- | # wget http:// | ||
- | |||
- | # dpkg -i puppet5-release-$(lsb_release -sc).deb | ||
- | |||
- | # apt update | ||
- | |||
- | # apt install puppet | ||
- | </ | ||
- | |||
- | 2. Install the '' | ||
- | |||
- | < | ||
- | # puppet module install puppetlabs-docker | ||
- | </ | ||
- | |||
- | 3. Create a puppet manifest | ||
- | |||
- | < | ||
- | |||
- | '' | ||
- | < | ||
- | class { ' | ||
- | docker_ce_channel => ' | ||
- | } | ||
- | </ | ||
- | |||
- | 4. Apply the '' | ||
- | |||
- | < | ||
- | # puppet apply --test docker.pp | ||
- | </ | ||
- | |||
- | 5. Example: install and run the '' | ||
- | |||
- | '' | ||
- | |||
- | < | ||
- | docker::run { ' | ||
- | image => ' | ||
- | net => ' | ||
- | env => [ | ||
- | " | ||
- | " | ||
- | " | ||
- | ], | ||
- | volumes => [ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | ], | ||
- | } | ||
- | </ | ||
- | |||
- | < | ||
- | # puppet apply --test docker.pp | ||
- | </ | ||
- | |||
- | 6. You can then browse to the Plex webUI at http:// |