0% found this document useful (0 votes)
41 views3 pages

Public Key History

The document contains a command history of a user managing packages and configurations on a Linux system. Key actions include installing and removing Docker, updating package lists, and modifying configuration files. The user also interacts with keyrings and performs various system checks and updates throughout the session.

Uploaded by

vijaykumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views3 pages

Public Key History

The document contains a command history of a user managing packages and configurations on a Linux system. Key actions include installing and removing Docker, updating package lists, and modifying configuration files. The user also interacts with keyrings and performs various system checks and updates throughout the session.

Uploaded by

vijaykumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

root@DESKTOP-3E7N3TH:/etc/apt/keyrings# history

1 cd
2 sudo nano etc/wsl.conf
3 cd /etc
4 cat wsl.conf
5 cd
6 hostnamectl
7 sudo reboot
8 exit
9 cd
10 apt install wget curl sudo software-properties-commen gnupg2
11 apt install wget curl sudo software-properties-common gnupg2
12 sudo apt update
13 sudo apt upgrade
14 clear
15 sudo wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-
key add -
16 sudo apt upgrade
17 sudo apt update
18 clear
19 hostnamectl
20 htop
21 hostnamectl
22 sudo nano /etc/wsl.conf
23 hostnamectl
24 sudo apt update
25 sudo apt upgrade
26 clear
27 exit
28 cd
29 apt-get remove --purge docker-ce docker-ce-cli containerd.io
30 apt-get autoremove
31 apt-get autoclean
32 rm -rf /etc/docker /var/lib/docker
33 clear
34 docker --version
35 clear
36 rm -rf /etc/docker /var/lib/docker
37 clear
38 sudo apt upgrade
39 sudo apt update
40 clear
41 exit
42 cd
43 sudo find / -name '*docker*'
44 dpkg -l | grep -i docker
45 sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli
docker-compose-plugin
46 sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce
docker-compose-plugin
47 sudo apt update
48 clear
49 sudo rm -rf /var/lib/docker /etc/docker
50 sudo rm /etc/apparmor.d/docker
51 sudo groupdel docker
52 sudo rm -rf /var/run/docker.sock
53 sudo rm -rf /var/lib/containerd
54 sudo rm -r ~/.docke
55 sudo rm -r ~/.docker
56 clear
57 sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli
58 clear
59 sudo apt-get purge docker-ce docker-ce-cli containerd.io
60 clear
61 sudo su
62 su login
63 exit
64 cd
65 cd /etc/apt
66 ls
67 ls -lah sources.list.d/
68 chmod +x 777 sources.list.d
69 chmod 777 sources.list.d/
70 ls
71 ls -lah sources.list.d/
72 cat sources.list.d/docker.list
73 ls
74 cd keyrings/
75 ls
76 ls -lah keyrings/
77 cd
78 cd etc/
79 cd etc
80 cd /etc/apt/
81 ls
82 ls -lah keyrings/
83 ls -lah trusted.gpd.d/
84 ls -lah trusted.gpg.d/
85 chmod 777 trusted.gpg.d
86 ls -la
87 ls -lah trusted.gpg.d/
88 ls -lah keyrings/
89 ls -lah trusted.gpd.d/
90 ls -lah trusted.gpg.d/
91 sudo gpg keyrings/ubuntu-keyring-2018-archive.gpg
92 sudo gpg keyrings/ubuntu-keyring-2018-archive.gpg |grep 7EA0A9C3F273FCD8
93 sudo apt install gpg
94 sudo gpg keyrings/ubuntu-keyring-2018-archive.gpg |grep 7EA0A9C3F273FCD8
95 ls
96 cd keyrings
97 ls
98 cd ..
99 ls -lah keyrings/
100 ls -lah sources.list.d/
101 sudo nano sources.list.d/dokcer.list
102 sudo apt update
103 sudo nano sources.list.d/dokcer.list
104 sudo apt update
105 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor
-o /usr/share/keyrings/docker-archive-keyring.gpg
106 sudo apt update
107 clear
108 sudo chmod 755 /etc/apt/keyrings
109 sudo chmod a+r /etc/apt/keyrings/docker.gpg
110 deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg]
https://download.docker.com/linux/ubuntu jammy stable
111 ls
112 sudo nano sources.list.d/dokcer.list
113 sudo apt update
114 sudo ln -sf /usr/share/keyrings/docker-archive-keyring.gpg
/etc/apt/keyrings/docker.gpg
115 clear
116 sudo apt upgrade
117 sudo apt update
118 ls
119 cd keyrings/
120 ls
121 history
root@DESKTOP-3E7N3TH:/etc/apt/keyrings#

You might also like