0% found this document useful (0 votes)
59 views1 page

.. Bin .Gnupg Inst-Sys .SSH: Containner: #

The document contains the command line history of a container running Alpine Linux. It shows the user running various docker commands to pull images, run containers, manage containers, and attach to a running container.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views1 page

.. Bin .Gnupg Inst-Sys .SSH: Containner: #

The document contains the command line history of a container running Alpine Linux. It shows the user running various docker commands to pull images, run containers, manage containers, and attach to a running container.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

containner:~ # l

total 36
drwx------ 6 root root 4096 Jul 8 10:07 ./
drwxr-xr-x 22 root root 4096 Jun 25 16:00 ../
-rw------- 1 root root 1857 Jul 6 14:38 .bash_history
drwxr-xr-x 2 root root 4096 Mai 9 2017 bin/
drwx------ 2 root root 4096 Mai 9 2017 .gnupg/
drwxr-xr-x 4 root root 4096 Jun 25 15:47 inst-sys/
drwxr-xr-x 2 root root 4096 Jun 25 16:45 .ssh/
-rw------- 1 root root 662 Jun 25 16:42 .viminfo
-rw------- 1 root root 112 Jul 8 10:07 .Xauthority
containner:~ # clear

containner:~ # history
1 2021-06-25 16:43:53 l
2 2021-06-25 16:44:00 mkdir .ssh
3 2021-06-25 16:44:01 l
4 2021-06-25 16:44:13 cd .ssh
5 2021-06-25 16:44:14 clear
6 2021-06-25 16:44:14 l
7 2021-06-25 16:44:35 scp -P 5432 200.155.74.87:/root/.ssh/auto* .
8 2021-06-25 16:44:59 scp -P 5432 200.155.74.87:/root/.ssh/aut* .
9 2021-06-25 16:45:08 clear
10 2021-06-25 16:45:09 l
11 2021-06-25 16:45:12 exit
12 2021-06-25 16:45:18 clear
13 2021-06-25 16:45:19 l
14 2021-06-25 16:45:29 zypper search docker
15 2021-06-25 16:46:05 clear
16 2021-06-25 16:46:12 zypper in docker
17 2021-06-25 16:46:53 clear
18 2021-06-25 16:48:23 cd /opt/
19 2021-06-25 16:48:24 l
20 2021-06-25 16:48:27 mkdir scripts
21 2021-06-25 16:48:30 cd scripts/
22 2021-06-25 16:48:30 l
23 2021-06-25 16:48:31 clear
24 2021-06-25 16:48:32 l
25 2021-06-25 16:48:40 wget -qO- https://get.docker.com/ | sh
26 2021-06-25 16:50:25 rpm -qa --filesbypkg | grep docker
27 2021-06-25 16:51:22 docker-machine
28 2021-06-25 16:51:41 curl -L https://github.com/docker/machine/release2 s/download/v0.10.0/docker-machine-`uname -s`-`uname\
29 2021-07-08 10:07:26 3 -m` > /usr/local/bin/docker-machine && \
30 2021-06-25 16:54:56 docker container run hello-world
31 2021-06-25 16:55:06 service docker start
32 2021-06-25 16:55:10 docker container run hello-world
33 2021-06-25 17:57:33 docker container -it --name alpine alpine bash
34 2021-06-25 17:57:47 docker container run -it --name alpine alpine bash
35 2021-06-25 17:58:04 docker container run -it --name alpine alpine sh
36 2021-06-25 17:58:12 docker ps
37 2021-06-25 17:58:28 docker container rm alpine
38 2021-06-25 17:58:33 docker container run -it --name alpine alpine sh
39 2021-06-25 18:00:01 docker ps
40 2021-06-25 18:00:07 docker images list
41 2021-06-25 18:14:55 docker images list
42 2021-06-25 18:17:05 docker image ls
43 2021-06-25 18:17:06 clear
44 2021-06-25 18:17:13 docker image list
45 2021-06-25 18:18:19 docker container run -dti alpine
46 2021-06-25 18:18:31 docker ps
47 2021-06-25 18:21:30 docker container -attach 8827f101009a
48 2021-06-25 18:21:52 docker container attach 8827f101009a
49 2021-06-25 18:23:19 docker container list
50 2021-06-25 18:24:23 docker ps
51 2021-06-25 18:24:26 history
52 2021-06-25 18:24:33 l
53 2021-06-25 18:24:40 docker ps
54 2021-06-25 18:25:18 docker container -la
55 2021-06-25 18:25:26 docker container ls -a
56 2021-06-25 20:31:17 history
57 2021-06-25 20:31:37 w
58 2021-06-25 21:17:42 exit
59 2021-07-06 12:12:31 docker container ls -a
60 2021-07-08 10:07:41 docker container run -dti alpine
61 2021-07-08 10:07:50 docker ps
62 2021-07-08 10:08:03 docker container -attach 0515da6f5008
63 2021-07-08 10:08:15 docker container -attach nostalgic_cartwright
64 2021-07-08 10:08:33 docker ps
65 2021-07-08 10:08:38 docker stop nostalgic_cartwright
66 2021-07-08 10:08:58 docker ps
67 2021-07-08 10:09:01 top
68 2021-07-08 10:09:10 clear
69 2021-07-08 10:09:10 l
70 2021-07-08 10:09:12 clear
71 2021-07-08 10:09:15 history
containner:~ # !35
docker container run -it --name alpine alpine sh
docker: Error response from daemon: Conflict. The container name "/alpine" is already in use by container "b1080774d1e9528942747655254aa30befdf1d53065dd870cf5c07546fda268b". You have to remove (or renam
e) that container to be able to reuse that name.
See 'docker run --help'.
containner:~ #
containner:~ #
containner:~ #
containner:~ #
containner:~ # docker container run -it alpine sh
/ #
/ #

You might also like