Type 'help' to see available commands. You can use some terminal commands to navigate...
guest@techdiy:~$
Firefox Browser - Docker Image Based on Alpine
This Docker image provides a lightweight and secure environment to run the "Firefox Browser" Based on "Alpine Linux", it is designed for users who prioritize speed and efficiency while maintaining privacy and security while browsing the web.
Requirements:
1. Podman (recommended) - In the .sh file below `podman` is used instead of `docker`.
Why Podman?: It offers a DAEMONLESS architecture and supports running containers WITHOUT root privileges, which can improve both security and system stability. Since its CLI is largely compatible with Docker, most commands can be used without modification.
2. Docker (compatible) - Ensure to replace `podman` with `docker` in the .sh file if you want to use it instead.
3. X11 Server -- You need to have an **X11** server running for the graphical interface.
⚠️ It does not work on Wayland !
(to check what you using - run: `echo $XDG_SESSION_TYPE` on Linux)
⚠️ Tested on KDE Plasma (Linux). If you encounter issues, you may need to install additional package(s) for your desktop environment. Just follow the error message for guidance. Windows, macOS, and other operating systems have not been tested !_
Usage:
👣 Create a folder firefox-alpine
👣 Create two files in that folder: Dockerfile & run-firefox.sh with the code below...
👣 Make run-firefox.sh executable:
chmod +x run-firefox.sh
👣 No need to build the image - just run the script:
./run-firefox.sh
💡 Security Considerations:
• This container is designed to run in a sandboxed environment with minimal exposure to the host system.
• It's recommended to run this image using non-privileged user permissions and limit access to sensitive directories.
⚠️ Disclaimer:
This Docker image is provided as-is, without any warranties or guarantees of any kind. Use of this image is entirely at your own risk.