ThePorgs / Exegol

Fully featured and community-driven hacking environment
https://exegol.readthedocs.io/
GNU General Public License v3.0
1.95k stars 191 forks source link

Unable to install images due to docker disk space error #221

Closed infosecconsultant closed 5 months ago

infosecconsultant commented 5 months ago

Describe the bug

I tried to install the full environment. However, I get errors regarding insufficient space on the device. I can confirm I have ~250GB free drive space so I'm not sure why it's complaining or where it's hitting a limit.

exegol install full
[] Exegol is currently in version v4.3.4 [] Exegol Discord serv.: https://discord.gg/cXThyp7D6P [] Exegol documentation: https://exegol.rtfd.io/ [] Installing exegol image : full
[] Pulling compressed image, starting a ~21.6GB download 📡
[
] Once downloaded and uncompressed, the image will take ~56.3GB on disk 💾
[-] Docker download error: failed to register layer: write /root/.local/share/pipx/venvs/scoutsuite/lib/python3.11/site-packages/oauthlib/oauth1/pycache/init.cpython-311.pyc: no space left on device
[!] An error occurred during the image download. Exiting.

Steps To Reproduce

exegol install full

Exegol Wrapper Version

[*] Exegol is currently in version v4.3.4
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[D] Pip installation: On ✔                                                                                                                                                                                                                                     
[D] Git source installation: Off 🪓                                                                                                                                                                                                                            
[D] Host OS: Mac (Docker desktop)                                                                                                                                                                                                                              
[D] Arch: amd64                                                                                                                                                                                                                                                
[D] Raw arch: x86_64                                                                                                                                                                                                                                           
[D] Docker desktop: On ✔                                                                                                                                                                                                                                       
[D] Shell type: Mac                                                                                                                                                                                                                                            
[D] Last wrapper update check: 18/06/2024                                                                                                                                                                                                                      

[*] Exegol is currently in version v4.3.4
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/

Host OS

MacOS

Configuration of the concerned container

No response

Execution logs in debug mode

me@work ~ % exegol install full -vvv
[*] Exegol is currently in version v4.3.4
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[D] Pip installation: On ✔                                                                                                                                                                                                                                     
[D] Git source installation: Off 🪓                                                                                                                                                                                                                            
[D] Host OS: Mac (Docker desktop)                                                                                                                                                                                                                              
[D] Arch: amd64                                                                                                                                                                                                                                                
[D] Raw arch: x86_64                                                                                                                                                                                                                                           
[D] Docker desktop: On ✔                                                                                                                                                                                                                                       
[D] Shell type: Mac                                                                                                                                                                                                                                            
[D] Last wrapper update check: 18/06/2024                                                                                                                                                                                                                      

[D] Running install module                                                                                                                                                                                                                                     
[D] Loading git at /Users/admin/.exegol/exegol-resources                                                                                                                                                                                                       
[D] Repo path: /Users/admin/.exegol/exegol-resources/.git                                                                                                                                                                                                      
[D] Git repository successfully loaded                                                                                                                                                                                                                         
[D] Fetching remote image tags, digests and sizes                                                                                                                                                                                                              
[D] Fetching information from: https://hub.docker.com/v2/repositories/nwodtuhs/exegol/tags?page_size=20                                                                                                                                                        
[D] Fetching information from: https://hub.docker.com/v2/repositories/nwodtuhs/exegol/tags?page=2&page_size=20                                                                                                                                                 
[D] Max page limit reached. In non-verbose mode, downloads will stop there.                                                                                                                                                                                    
[D] Fetching information from: https://hub.docker.com/v2/repositories/nwodtuhs/exegol/tags?page=3&page_size=20                                                                                                                                                 
[D] Fetching information from: https://hub.docker.com/v2/repositories/nwodtuhs/exegol/tags?page=4&page_size=20                                                                                                                                                 
[D] Fetching local image tags, digests (and other attributes)                                                                                                                                                                                                  
[D] Comparing and merging local and remote images data                                                                                                                                                                                                         
[D] Searching a match for each image installed                                                                                                                                                                                                                 
[D] └── nightly → (remote) sha256:66673ef400645c6f32bc394b62afe77a6038645a826a7d373db6acfe54dd4edf                                                                                                                                                             
[D] └── web     → (remote) sha256:f7be4d30b4a383d916a53eacfaf670cd75f93bfccccc4f106d52b483ee47d8d9                                                                                                                                                             
[D] └── osint   → (remote) sha256:92e0aeb7a6ad6dd19f20ec3b7caf7624509042e9abe00b42abd972f80dadd95e                                                                                                                                                             
[D] └── osint   → (remote) sha256:92e0aeb7a6ad6dd19f20ec3b7caf7624509042e9abe00b42abd972f80dadd95e                                                                                                                                                             
[D] └── light   → (remote) sha256:3084595d81d5938657cb2d54d857376345e40d6f64377378edf5cd914db87ce9                                                                                                                                                             
[D] └── ad      → (remote) sha256:4ce3f2f431a0cc627a9c2cf31a25278162c1fba9facdb36c65ec998917b2313c                                                                                                                                                             
[D] └── ad      → (remote) sha256:4ce3f2f431a0cc627a9c2cf31a25278162c1fba9facdb36c65ec998917b2313c                                                                                                                                                             
[D] └── full    → (remote) sha256:5e99bde3466c345045f308a7f8cd3a06161216d2892aa052c3347aad36e919f7                                                                                                                                                             
[D] └── full    → (remote) sha256:5e99bde3466c345045f308a7f8cd3a06161216d2892aa052c3347aad36e919f7                                                                                                                                                             
[D] └── web-3.1.3       → (remote) sha256:6a57539bfee546a95c06e3cf82fe64151ce960d91a43cacdcdab2f047d15020f                                                                                                                                                     
[D] └── osint-3.1.3     → (remote) sha256:644c6338daa01060203f170678a5ecfb05a86a79f15812ca4e129d4f359baffa                                                                                                                                                     
[D] └── light-3.1.3     → (remote) sha256:84fdafb3c5c59e4ad166699dcb45aef394d45c437c4afacdc31d69897af8a935                                                                                                                                                     
[D] └── light-3.1.3     → (remote) sha256:84fdafb3c5c59e4ad166699dcb45aef394d45c437c4afacdc31d69897af8a935                                                                                                                                                     
[D] └── full-3.1.3      → (remote) sha256:a41f49cafa3f6da439e5a263ace164aa566d2cb8a3db000222fef39689e7e266                                                                                                                                                     
[D] └── ad-3.1.3        → (remote) sha256:81e835831532530df3a21049db99f101d1e7058a82bdafbed38cf9242905d9fa                                                                                                                                                     
[D] └── ad-3.1.3        → (remote) sha256:81e835831532530df3a21049db99f101d1e7058a82bdafbed38cf9242905d9fa                                                                                                                                                     
[D] └── web-3.1.2       → (remote) sha256:14a539bcb8563c2834cac944794ba52b643c3f1c2156be5cf9142820a436c4f8                                                                                                                                                     
[D] └── osint-3.1.2     → (remote) sha256:63d09a6cf88f496285e8b9d6d4f550fc793c0a7792c0d9bbd9d1bcdfdc208798                                                                                                                                                     
[D] └── osint-3.1.2     → (remote) sha256:63d09a6cf88f496285e8b9d6d4f550fc793c0a7792c0d9bbd9d1bcdfdc208798                                                                                                                                                     
[D] └── light-3.1.2     → (remote) sha256:ca91e8abc6998c3f13f13222d3670d2b9f3c90a697aa650b33d11d60de9c4cd6                                                                                                                                                     
[D] └── light-3.1.2     → (remote) sha256:ca91e8abc6998c3f13f13222d3670d2b9f3c90a697aa650b33d11d60de9c4cd6                                                                                                                                                     
[D] └── full-3.1.2      → (remote) sha256:a87696f3b27523be0dc5b915d7efcd6ef09bbd8f31f0ab61e8048b1f17c659e0                                                                                                                                                     
[D] └── ad-3.1.2        → (remote) sha256:41047b7a86315277b0b69191f0dfdd90bc4eb43056e8ade3fa715a0e8e7af09e                                                                                                                                                     
[D] └── ad-3.1.2        → (remote) sha256:41047b7a86315277b0b69191f0dfdd90bc4eb43056e8ade3fa715a0e8e7af09e                                                                                                                                                     
[D] └── web-3.1.1       → (remote) sha256:9108e175ebcd946d142de06f7ef8c7f8e9baaa996c83bf03c72b804239d925ba                                                                                                                                                     
[D] └── osint-3.1.1     → (remote) sha256:4365185cd4082cac6bd05d97eab0c230ba1d2516b8c98e95e1b87e1eb125e3a3                                                                                                                                                     
[D] └── light-3.1.1     → (remote) sha256:19a6748bfafb103cdfc51cb4a33ae931d4ffc81b8824399d20e1f9802ef744f8                                                                                                                                                     
[D] └── full-3.1.1      → (remote) sha256:3d40ce1506e100b53cf27a653b1cad8ec7bfc1ceefeaa9a7f84e422942afeff3                                                                                                                                                     
[D] └── full-3.1.1      → (remote) sha256:3d40ce1506e100b53cf27a653b1cad8ec7bfc1ceefeaa9a7f84e422942afeff3                                                                                                                                                     
[D] └── ad-3.1.1        → (remote) sha256:6e7f9fbc6ec5d3609b5c9e3dfbad4584e68196a82978201509be7830a85d6357                                                                                                                                                     
[D] └── ad-3.1.1        → (remote) sha256:6e7f9fbc6ec5d3609b5c9e3dfbad4584e68196a82978201509be7830a85d6357                                                                                                                                                     
[D] └── web-3.1.0       → (remote) sha256:ca359990a79416693b00fac13cfc2f22a1e84e28106f982aa16a91bd84e5d3f2                                                                                                                                                     
[D] └── web-3.1.0       → (remote) sha256:ca359990a79416693b00fac13cfc2f22a1e84e28106f982aa16a91bd84e5d3f2                                                                                                                                                     
[D] └── osint-3.1.0     → (remote) sha256:335acb243b310c66ca011665d4e7462a427686eef217ac8dc9a2be45cea4eaea                                                                                                                                                     
[D] └── light-3.1.0     → (remote) sha256:96c388d0d36695d71b0665dc9f966b438a562c72cba9c6f9fc97c97b6073017f                                                                                                                                                     
[D] └── light-3.1.0     → (remote) sha256:96c388d0d36695d71b0665dc9f966b438a562c72cba9c6f9fc97c97b6073017f                                                                                                                                                     
[D] └── ad-3.1.0        → (remote) sha256:2c9ced02cf893114557b17577a34c14b7030c5715d174b8e8ac2a2500da29d58                                                                                                                                                     
[D] └── full-3.1.0      → (remote) sha256:b4c29bf24ec7d6055eaef632dbc8915d403f4b349da14599b9282e6f1ec6f695                                                                                                                                                     
[D] └── full-3.1.0      → (remote) sha256:b4c29bf24ec7d6055eaef632dbc8915d403f4b349da14599b9282e6f1ec6f695                                                                                                                                                     
[D] └── web-3.0.2       → (remote) sha256:2d48210c019f5b4014c8121c908bb832a0a41e78ab9dc70d396c84197619e5c8                                                                                                                                                     
[D] └── osint-3.0.2     → (remote) sha256:69dd1008f8c80d2ab0310b1fd21c7aa5afdc58a349166e809805e2a38c8e5e22                                                                                                                                                     
[D] └── full-3.0.2      → (remote) sha256:2c2257cb94a8047cd03c59c512c295b89101e5982105e982c406ed850deef7d9                                                                                                                                                     
[D] └── full-3.0.2      → (remote) sha256:2c2257cb94a8047cd03c59c512c295b89101e5982105e982c406ed850deef7d9                                                                                                                                                     
[D] └── light-3.0.2     → (remote) sha256:28b31faa4a4edf5a66fb21303a86e290d7178fb57a905ef135b933cfddf7e987                                                                                                                                                     
[D] └── light-3.0.2     → (remote) sha256:28b31faa4a4edf5a66fb21303a86e290d7178fb57a905ef135b933cfddf7e987                                                                                                                                                     
[D] └── ad-3.0.2        → (remote) sha256:3c72c440a5e087e1f90fdadd259ac6f01b8a8f0813510405ee5b2eb6830d85cd                                                                                                                                                     
[D] └── web-3.0.1       → (remote) sha256:901640f976728b005c1291fc791db173583be4ce77e06c656fcc9ca1d90b9f78                                                                                                                                                     
[D] └── osint-3.0.1     → (remote) sha256:6792268d4ffd890010482584becd8b04666025b71766b0fea76ed355d6b14c4c                                                                                                                                                     
[D] └── light-3.0.1     → (remote) sha256:7f4cf4a55f34cc2419b57c8b4286be4e5a053316ecce2e23cce5f17a38590571                                                                                                                                                     
[D] └── light-3.0.1     → (remote) sha256:7f4cf4a55f34cc2419b57c8b4286be4e5a053316ecce2e23cce5f17a38590571                                                                                                                                                     
[D] └── full-3.0.1      → (remote) sha256:b595b71adbf4f0edc32a388f87771de377d82e059e0f9459fb62b49eb938b5cd                                                                                                                                                     
[D] └── full-3.0.1      → (remote) sha256:b595b71adbf4f0edc32a388f87771de377d82e059e0f9459fb62b49eb938b5cd                                                                                                                                                     
[D] └── ad-3.0.1        → (remote) sha256:4fc6a3d2d28929f13fb74ff4e9258f51daa8986a0603aaa37ad109bacc7f9381                                                                                                                                                     
[D] └── light-3.0.0     → (remote) sha256:2fe0e78dcf1924785bffeb20b52ecde82609f9c91c0fad883bb293dd65d7443d                                                                                                                                                     
[D] └── osint-3.0.0     → (remote) sha256:13b3d0f9d9946b0105c997260f84a5b3ea0e35d1b1da974a033def9375c109ea                                                                                                                                                     
[D] └── web-3.0.0       → (remote) sha256:fe361319498cdbf0c62688fc675902a54dc12ceff164ef193789d67d1140d970                                                                                                                                                     
[D] └── web-3.0.0       → (remote) sha256:fe361319498cdbf0c62688fc675902a54dc12ceff164ef193789d67d1140d970                                                                                                                                                     
[D] └── ad-3.0.0        → (remote) sha256:a174289246c5ce40227a52caf4d82faf81420c915791caad6bbf85c7d02cd5c9                                                                                                                                                     
[D] └── full-3.0.0      → (remote) sha256:6751cd3bf83461623a9bfab29c36edfef8b5d4e9b80c11015cf53a0061099dce                                                                                                                                                     
[D] └── full-3.0.0      → (remote) sha256:6751cd3bf83461623a9bfab29c36edfef8b5d4e9b80c11015cf53a0061099dce                                                                                                                                                     
[D] └── full-2.1.1      → (remote) sha256:c19d64e74f346999991a82a740acb392bf0da6c2fbb680c2403250f2bba31cfc                                                                                                                                                     
[D] └── ad-2.1.1        → (remote) sha256:b2b9a7642cd765daae0e0e517544cb4f5b0b77f8149f19165479fceb92f14f84                                                                                                                                                     
[D] └── web-2.1.1       → (remote) sha256:6ce49800b576f2f97d665e63ab0cb4fb946cf3d575b5918887e93887afe3c2d8                                                                                                                                                     
[D] └── light-2.1.1     → (remote) sha256:c048d0ebe19613e01e65d27013c5174fb41cccbe2fd9f8cde9cbb2a56b919371                                                                                                                                                     
[D] └── osint-2.1.1     → (remote) sha256:ffe3c2d9693b0b52d11d9104dd2a33f2cf2037b412249db340d59d7ee01497fa                                                                                                                                                     
[D] └── full-2.1.0      → (remote) sha256:2462e5169f04b72123ab28d34ae7b326d40240097bcebe65bc968ade06c36a9c                                                                                                                                                     
[D] └── ad-2.1.0        → (remote) sha256:eda497aebe8e35d685be9057793606c297548519dd16526b302d50a8f959179d                                                                                                                                                     
[D] └── web-2.1.0       → (remote) sha256:4520239532ce14afdfb87e4fcd9633096b90a3e8a28d8b02044e628c53cfb17f                                                                                                                                                     
[D] └── light-2.1.0     → (remote) sha256:ffa088736d8a3e2bab9cf3e3ae2b816d779e2a6a984ed41012ef989e3524e8b3                                                                                                                                                     
[D] └── osint-2.1.0     → (remote) sha256:f706f54024324899836f7568aeda8608dacd93a98d7114cd5f5b3fd093beba08                                                                                                                                                     
[D] └── full-2.0.2      → (remote) N/A                                                                                                                                                                                                                         
[D] └── light-2.0.2     → (remote) N/A                                                                                                                                                                                                                         
[D] └── ad-2.0.2        → (remote) N/A                                                                                                                                                                                                                         
[D] └── web-2.0.2       → (remote) N/A                                                                                                                                                                                                                         
[D] └── osint-2.0.2     → (remote) N/A                                                                                                                                                                                                                         
[D] └── full-2.0.1      → (remote) N/A                                                                                                                                                                                                                         
[D] └── ad-2.0.1        → (remote) N/A                                                                                                                                                                                                                         
[D] └── web-2.0.1       → (remote) N/A                                                                                                                                                                                                                         
[D] └── light-2.0.1     → (remote) N/A                                                                                                                                                                                                                         
[D] └── osint-2.0.1     → (remote) N/A                                                                                                                                                                                                                         
[D] └── web-2.0.0       → (remote) N/A                                                                                                                                                                                                                         
[D] └── light-2.0.0     → (remote) N/A                                                                                                                                                                                                                         
[D] └── osint-2.0.0     → (remote) N/A                                                                                                                                                                                                                         
[D] └── full-2.0.0b5    → (remote) N/A                                                                                                                                                                                                                         
[D] └── ad-2.0.0b5      → (remote) N/A                                                                                                                                                                                                                         
[D] └── web-2.0.0b5     → (remote) N/A                                                                                                                                                                                                                         
[D] └── light-2.0.0b5   → (remote) N/A                                                                                                                                                                                                                         
[D] └── osint-2.0.0b5   → (remote) N/A                                                                                                                                                                                                                         
[D] Updating image cache data                                                                                                                                                                                                                                  
[D] └── nightly (version: N/A)  → (remote) sha256:66673ef400645c6f32bc394b62afe77a6038645a826a7d373db6acfe54dd4edf                                                                                                                                             
[D] └── web (version: 3.1.4)    → (remote) sha256:f7be4d30b4a383d916a53eacfaf670cd75f93bfccccc4f106d52b483ee47d8d9                                                                                                                                             
[D] └── osint (version: 3.1.4)  → (remote) sha256:92e0aeb7a6ad6dd19f20ec3b7caf7624509042e9abe00b42abd972f80dadd95e                                                                                                                                             
[D] └── light (version: 3.1.4)  → (remote) sha256:3084595d81d5938657cb2d54d857376345e40d6f64377378edf5cd914db87ce9                                                                                                                                             
[D] └── ad (version: 3.1.4)     → (remote) sha256:4ce3f2f431a0cc627a9c2cf31a25278162c1fba9facdb36c65ec998917b2313c                                                                                                                                             
[D] └── full (version: 3.1.4)   → (remote) sha256:5e99bde3466c345045f308a7f8cd3a06161216d2892aa052c3347aad36e919f7                                                                                                                                             
[*] Installing exegol image : full                                                                                                                                                                                                                             
[*] Pulling compressed image, starting a ~21.6GB download 📡                                                                                                                                                                                                   
[*] Once downloaded and uncompressed, the image will take ~56.3GB on disk 💾                                                                                                                                                                                   
[D] Downloading nwodtuhs/exegol:full (amd64)                                                                                                                                                                                                                   
[-] Docker download error: failed to register layer: mkdir /root/.local/share/pipx/venvs/scoutsuite/lib/python3.11/site-packages/oauthlib/oauth1: no space left on device                                                                                      
[!] An error occurred during the image download. Exiting.

Exception

No response

Anything else?

No response

QU35T-code commented 5 months ago

Hi @infosecconsultant,

If you use Docker Desktop make sure to modify the disk size in the settings because docker desktop has a static disk size which by default is smaller than that of a full exegol image.

infosecconsultant commented 5 months ago

Indeed that has solved the issue. Thank you @QU35T-code !