Posted by Andrew B. Collier on 2017-09-14.
This procedure works on both my laptop and a fresh EC2 instance.
- Add the GPG key for Docker.
- Add the details of the Docker repository.
- Update the package index.
- Install the Community Edition package.
- Test it.
The output from the test should look something like this:
Note that the
docker command currently requires superuser privileges. To allow
docker for mere mortals, add their accounts to the
On that user’s next login the
docker group will be added to their profile and they will be able to launch
I’ve wrapped the installation up in a very simple Gist.