1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
--- 172.17.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.078/0.094/0.111/0.019 ms
root@tempo:~#
root@tempo:~#
root@tempo:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a990ae6b4f9b mikesplain/openvas "/bin/sh -c /start" 2 minutes ago Up About a minute 0.0.0.0:443->443/tcp, 0.0.0.0:9390->9390/tcp openvas
root@tempo:~# docker stop a990ae6b4f9b
a990ae6b4f9b
root@tempo:~# docker run -d -p 443:443 -p 9390:9390 --name openvas mikesplain/openvas -it bash
docker: Error response from daemon: Conflict. The container name "/openvas" is already in use by container a990ae6b4f9b955433a2aacda6445b4708c3a4228f3b6c6a9d19c7da83f2be1f. You have to remove (or rename) that container to be able to reuse that name..
See 'docker run --help'.
root@tempo:~# docker rmi -f openvas
Error response from daemon: No such image: openvas:latest
root@tempo:~# docker rmi -f mikesplain/openvas
Untagged: mikesplain/openvas:latest
Untagged: mikesplain/openvas@sha256:1916000840b8ffd464f52046665e93700b037f6d3ee25b5c2c1cc99311dd7d38
Deleted: sha256:694376ac4621641370bf752f27daaf434a63e9016714fa8b9cb6a5a5ae368449
root@tempo:~# docker run -d -p 443:443 -p 9390:9390 --name openvas mikesplain/openvas
Unable to find image 'mikesplain/openvas:latest' locally
latest: Pulling from mikesplain/openvas
75c416ea735c: Already exists
c6ff40b6d658: Already exists
a7050fc1f338: Already exists
f0ffb5cf6ba9: Already exists
be232718519c: Already exists
4a6f779b4138: Already exists
f071e05cf6c1: Already exists
6b2e95aaa7a3: Already exists
e761624d7546: Already exists
7f6f145a7f64: Already exists
Digest: sha256:1916000840b8ffd464f52046665e93700b037f6d3ee25b5c2c1cc99311dd7d38
Status: Downloaded newer image for mikesplain/openvas:latest
docker: Error response from daemon: Conflict. The container name "/openvas" is already in use by container a990ae6b4f9b955433a2aacda6445b4708c3a4228f3b6c6a9d19c7da83f2be1f. You have to remove (or rename) that container to be able to reuse that name..
See 'docker run --help'.
root@tempo:~# docker rm -f openvas # supposé résoudre le conflit et repuller/rebuilder le container mais que neni !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
openvas
root@tempo:~# docker run -d -p 443:443 -p 9390:9390 --name openvas mikesplain/openvas
1ffe248bd74d266f339c8020098f870cbf27c4e421cabe05090db8c53e4a8656
root@tempo:~# # la par exemple il ne tourne absoluement pas il est up mais pas running !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
root@tempo:~#
root@tempo:~# docker run -d -p 443:443 -p 9390:9390 --name openvas mikesplain/openvas -it bash
docker: Error response from daemon: Conflict. The container name "/openvas" is already in use by container 1ffe248bd74d266f339c8020098f870cbf27c4e421cabe05090db8c53e4a8656. You have to remove (or rename) that container to be able to reuse that name..
See 'docker run --help'.
root@tempo:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1ffe248bd74d mikesplain/openvas "/bin/sh -c /start" 18 seconds ago Up 17 seconds 0.0.0.0:443->443/tcp, 0.0.0.0:9390->9390/tcp openvas
root@tempo:~# # tjrs UP mais tjrs running !!!!!!
root@tempo:~#
root@tempo:~# |
Partager