Comments on: How to Install Docker on Ubuntu 22.04 Step-by-Step https://www.linuxtechi.com/install-use-docker-on-ubuntu/ Tue, 26 Sep 2023 03:36:21 +0000 hourly 1 By: Pradeep Kumar https://www.linuxtechi.com/install-use-docker-on-ubuntu/#comment-58038 Tue, 05 Sep 2023 16:14:53 +0000 https://www.linuxtechi.com/?p=12220#comment-58038 In reply to Dark King.

Yes, You can run container with docker image Ubuntu 22.04 on Ubuntu 20.04 host.

]]>
By: Dark King https://www.linuxtechi.com/install-use-docker-on-ubuntu/#comment-58036 Tue, 05 Sep 2023 16:06:42 +0000 https://www.linuxtechi.com/?p=12220#comment-58036 I have ubuntu 20.04, can i install docker that run ubuntu 22.04?

]]>
By: Pradeep Kumar https://www.linuxtechi.com/install-use-docker-on-ubuntu/#comment-22844 Wed, 03 Mar 2021 11:17:12 +0000 https://www.linuxtechi.com/?p=12220#comment-22844 In reply to Andrei.

Hi Andrei,

UFW will work with Docker iptables but for that you need modify ‘/etc/ufw/after.rules’.

Add the following lines at end of file and replace the interface that suits to your setup and restart ufw service

:DOCKER-USER – [0:0]
:ufw-user-input – [0:0]

-A DOCKER-USER -m conntrack –ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-USER -m conntrack –ctstate INVALID -j DROP
-A DOCKER-USER -i enp0s3 -j ufw-user-input
-A DOCKER-USER -i enp0s3-j DROP
COMMIT

]]>
By: Andrei https://www.linuxtechi.com/install-use-docker-on-ubuntu/#comment-22842 Wed, 03 Mar 2021 10:32:29 +0000 https://www.linuxtechi.com/?p=12220#comment-22842 What about security after this installation? Docker will change iptables rules as he likes, and ufw will not work anymore.

]]>