kasmtech / workspaces-images

Other
730 stars 241 forks source link

kali linux inside kasm images failed to pull #11

Closed jamieduk closed 1 year ago

jamieduk commented 2 years ago

Failed to pull image (kasmweb/chrome:1.10.0) : 500 Server Error for http+docker://localhost/v1.41/images/create?tag=1.10.0&fromImage=kasmweb%2Fchrome: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution")

jamieduk commented 2 years ago

still not been fixed?????

jamieduk commented 2 years ago

Failed to pull image (kasmweb/core-kali-rolling:1.11.0) : 500 Server Error for http+docker://localhost/v1.41/images/create?tag=1.11.0&fromImage=kasmweb%2Fcore-kali-rolling: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host") Traceback (most recent call last): File "docker/api/client.py", line 268, in _raise_for_status File "requests/models.py", line 1021, in raise_for_status requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.41/images/create?tag=1.11.0&fromImage=kasmweb%2Fcore-kali-rolling During handling of the above exception, another exception occurred: Traceback (most recent call last): File "provision.py", line 959, in get_image File "docker/models/images.py", line 446, in pull File "docker/api/image.py", line 430, in pull File "docker/api/client.py", line 270, in _raise_for_status File "docker/errors.py", line 31, in create_api_error_from_http_exception docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=1.11.0&fromImage=kasmweb%2Fcore-kali-rolling: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host")

fixit ffs!

j-travis commented 2 years ago

Both of your errors indicate a DNS name resolution issue which is likely an issue with your environment and not the Kasm app.

Try pulling the image manually from the commandline

sudo docker pull kasmweb/core-kali-rolling:1.11.0

Also, make sure you have enough free disk space. I believe the Kali image is ~10GB uncompressed

TheBlindHacker commented 1 year ago

When i installed (zima board) it defaulted to the small 32gb emmc. it has 2x4tb SSD's how can i send Kasm workspaces to a mount point there? is there a way in the app or do I need to use the actual FS?

j-travis commented 1 year ago

When i installed (zima board) it defaulted to the small 32gb emmc. it has 2x4tb SSD's how can i send Kasm workspaces to a mount point there? is there a way in the app or do I need to use the actual FS?

https://www.reddit.com/r/kasmweb/comments/13611uz/comment/jimc7c1/?context=3&share_id=ZnDlX2rs9fzIwfagoS80L&utm_content=1&utm_medium=ios_app&utm_name=ioscss&utm_source=share&utm_term=1