![]() ![]() I usually change the SSH daemon default port 22 to another random port ( /etc/ssh/sshd_config). If it's not installed on your server, install it with apt install ufw. ![]() On this Ubuntu 20.04 installation, UFW is already installed (VPS server from Hetzner (referral link)). On Ubuntu systems, I use UFW for this purpose. On servers connected to the Internet, I usually install a firewall. The option -rm automatically deletes the image after it exits Firewall You should see a hello message from Docker. ![]() Test the installation with docker run -rm hello-world Install Docker, start the daemon and enable it so it will start when the host boots up. If you are not root, either prepend sudo to the commands or use the simulate initial login option of sudo to start an interactive shell as root: sudo -i Dockerįirst, update all installed packages. In this blog post, I show you how to install Docker and Docker registry server on Ubuntu 20.04. Self-host Docker registry server on Ubuntu 20.04 Home | Send Feedback Self-host Docker registry server on Ubuntu 20.04
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |