abiosoft / abiosoft/colima

How do I completely remove the VM that colima uses on MacOS?

Đang mở
#258 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I am trying to "clean up" my VM of all the certs I have in there now, so I can make sure I know which certs at which locations in what cert format actually fixed a `x509: certificate signed by unknown authority` error for docker builds. (Still can't do direct docker pull from registry-1.docker.io, BTW, which is puzzling.)

However, `colima delete` does not seem to delete the vm, and I know this, because I was doing `colima ssh` and checking the `/etc/docker/certs.d` directory and all the certs I have added from the beginning of time remain there even if I forcibly delete them:
1. `colima start`
2. `colima ssh`
3. `find /etc/docker/certs.d` (lists all the certs I added ever)
4. `find /Home/myname/.docker/certs.d` (lists only those certs I have in my home right now-- its a volume mount, I know.)
5. `sudo rm -rf /etc/docker/certs.d/*` (deletes all the certs that are in there)
6. `exit`
7. `colima delete`
8. `colima start`
9. `colima ssh`
10. `find /etc/docker/certs.d` (lists all the files from the beginning of time again)
Even though most of the `*.crt` files in my `~/.docker/certs.d` directory are no longer there.

Where is the secret location of this VM file, so I can delete it and reload the VM from the downloaded ISO file?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.