Get comfortable with the Docker CLI by using a lightweight Alpine container.
- Pull: Pull the
alpineimage. - Run: Run it interactively (
-it). - Explore:
- Run
ls -la. - Check the OS version:
cat /etc/os-release.
- Run
- Modify:
- Alpine doesn't have
curlby default. - Install it:
apk add curl. - Use it:
curl google.com.
- Alpine doesn't have
- Clean: Exit and remove the container.
Take a screenshot of your terminal showing the output of the curl command inside the container.