If your Alpine Linux image doesn’t support sudo
it can be easily installed through the default Alpine packages. Let’s do it.
Prerequisites
- Alpine Linux
Install Sudo on Alpine Linux
Step 1. To install sudo on Alpine, run:
apk add sudo
Step 2. Let’s verify it.
sudo apk update
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.