casperklein / docker-netbox-scanner

10 stars 7 forks source link

No Make Uninstall? #2

Closed zveroboy152 closed 3 years ago

zveroboy152 commented 3 years ago

Hey!

I'm trying out your project, it's super cool. But, I wanted to uninstall it, and try it on a different device. However, I don't see any option to do a 'make uninstall'. I tried to check for anything to uninstall it using 'make -n' but, there wasn't any uninstall option that I could see, it only gave the option for './build'.

Any ideas on how to uninstall this and re-build it? :-)

casperklein commented 3 years ago

Hi. There isn't installed anything, when using this. So no need for an uninstall routine. You can just delete the downloaded files and you are good, e.g. rm -rf docker-netbox-scanner

If you want to delete the docker image, you can use docker rmi casperklein/netbox-scanner:2.0.0.

I hope that helps.

zveroboy152 commented 3 years ago

Hi Casper,

Thanks for the quick reply, I'll give reach back out about this tomorrow morning. I probably should have tried a bit more before commenting. :-)

zveroboy152 commented 3 years ago

I ran the commands again, and when I run ` docker ps -a ' it shows no containers being used.

After running make from the directory of the git clone'd file it runs through step 1-19 successfully.

Then, I run docker ps -a and I don't have any containers running.

System and Docker version: Docker Client: Version: 19.03.8 API version: 1.40 Go version: go1.13.8 Git commit: afacb8b7f0 Built: Wed Oct 14 19:43:43 2020 OS/Arch: linux/amd64 Experimental: false

Server: Engine: Version: 19.03.8 API version: 1.40 (minimum version 1.12) Go version: go1.13.8 Git commit: afacb8b7f0 Built: Wed Oct 14 16:41:21 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.3.3-0ubuntu2 GitCommit: runc: Version: spec: 1.0.1-dev GitCommit: docker-init: Version: 0.18.0 GitCommit:

Ubuntu Version: Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal

Let me know what other info you might need. :-)

casperklein commented 3 years ago

After running make from the directory of the git clone'd file it runs through step 1-19 successfully.

You have successfully build the docker image. docker ps only shows containers. To list the docker images, use docker images.

I hope that helps.

zveroboy152 commented 3 years ago

Oh. Well egg on my face... :-) I really appreciate the help, I'm still learning!

Thanks again, I'm going to close this.