A couple of requirements before we can start with the actual labs.
If you do not yet have a Docker Hub account, please sign up for a free one at:
If you already followed all steps in the prerequisites repo you can skip this step and move to Step 1
.
If you did not, follow all steps in the prerequisites repo
podman machine set --rootful
NOTE: if you get an error similar to
Error: cannot change settings while the vm is running, run 'podman machine stop' first
, issue the command mentioned in the message (podman machine stop
) and reissue the above command
podman machine start
Ensure that everything is working:
podman version
---
Client: Podman Engine
Version: 4.0.3
API Version: 4.0.3
Go Version: go1.18
Built: Fri Apr 1 17:28:59 2022
OS/Arch: darwin/amd64
Server: Podman Engine
Version: 4.0.2
API Version: 4.0.2
Go Version: go1.16.14
Built: Thu Mar 3 15:56:56 2022
OS/Arch: linux/amd64
Next we will login to the Docker Hub with podman
, this allows us to push/pull private container images:
podman login docker.io
Username: <YOUR_USERNAME>
Password:
Login Succeeded!