$ sudo iptables -L OUTPUT --line-number
$ sudo iptables -D OUTPUT 1
$ sudo iptables -L OUTPUT --line-number
$ sudo iptables -L OUTPUT --line-number
$ sudo iptables -D OUTPUT 1
$ sudo iptables -L OUTPUT --line-number
$ brave-browser
"[3056:3056:1217/082602.062706:ERROR:process_singleton_posix.cc(353)] The profile appears to be in use by another Brave process (2300) on another computer (hisham-workmachine). Brave has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave."
$ cd ~/.config/BraveSoftware/Brave-Browser/$ mv SingletonLock SingletonLock.0
$ podman image scp imagename:tag user@anothermachine::
$ podman image scp userA@localhost::imagename:tag userB@localhost::
$ sudo podman image scp root@localhost::imagename:tag nonroot@localhost::
$ podman image scp imagename:tag root@localhost::
$ podman image scp userB@localhost::imagename:tag
$ podman image scp user@machineA::imagename:tag user@machineB::
$ man podman-image-scp
We can use "docker save" and "docker load" commands to achieve this, combined with ssh.
These are the steps:
Save your image to a file
$ docker save -o filename imagename:tag
To get a smaller filesize, we can use xz, bzip2 or gz compression
$ docker save imagename:tag | xz > filename.xz
$ docker save imagename:tag | bzip2 > filename.bz2
$ docker save imagename:tag | gzip > filename.gz
Then, transfer the file over ssh to another machine
$ scp filename.xz user@anothermachine
Load back the image in the other machine. "Docker load" will automatically decompress the file if it is compressed with xz, bzip2 or gz.
$ docker load -i filename.xz
We can also use redirection, instead of the -i option
$ docker load < filename.xz
All that can also be done in one liner
$ docker save imagename:tag | xz | ssh user@anothermachine docker load
$ sudo apt install wireguard resolvconf -y
$ sudo mv mywireguard.conf /etc/wireguard
$ sudo wg-quick up mywireguard
$ sudo ip link dev show mywireguard8: mywireguard: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000link/none
$ sudo wg-quick down mywireguard
$ sudo apt update && sudo apt install flatpak -y
$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
$ sudo flatpak install flathub com.rtosta.zapzap