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

[BUG] 'No such container' error message when trying to start new container #147

Closed reybango closed 1 year ago

reybango commented 1 year ago

Describe the bug

When trying to create a new container using the 'light' image, I get the following error message:

[*] Creating new exegol container                                                                                                                                 
[+] Exegol container successfully created !                                                                                                                       
[*] Location of the exegol workspace on the host : /home/haribo/.exegol/workspaces/demo                                                                           
[+] Opening shell in Exegol 'demo'                                                                                                                                
Error response from daemon: No such container: 5f7ad050b2de7c71d4fabd9213b283930998f223a0d50994df9505b05a4fcb1a

image image image

Steps To Reproduce

  1. exegol start and followed the prompts to create the new container from the 'light' image

Error will follow afterwards.

Exegol Wrapper Version

[*] Exegol is currently in version v4.1.1
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) πŸ™                                                                                           
[+] We thank HackTheBox for sponsoring the multi-arch support πŸ’š                                                                                                  
[D] Pip installation: On βœ”                                                                                                                                        
[D] Git source installation: Off πŸͺ“                                                                                                                               
[D] Host OS: Linux                                                                                                                                                
[D] Arch: amd64                                                                                                                                                   
[D] Raw arch: x86_64                                                                                                                                              
[D] Docker desktop: Off πŸͺ“                                                                                                                                        
[D] Shell type: Linux                                                                                                                                             
[D] Last update check: 13/03/2023

Host OS

Linux

Configuration of the concerned container

[*] Exegol is currently in version v4.1.1
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) πŸ™                                                                                           
[+] We thank HackTheBox for sponsoring the multi-arch support πŸ’š                                                                                                  
[V] Listing user configurations                                                                                                                                   

🧠 User configurations                                     
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ User config file: /home/haribo/.exegol/config.yml       β”‚
β”‚ Private workspace: /home/haribo/.exegol/workspaces      β”‚
β”‚ Exegol resources: /home/haribo/.exegol/exegol-resources β”‚
β”‚ My resources: /home/haribo/.exegol/my-resources         β”‚
β”‚ Auto-check updates: On βœ”                                β”‚
β”‚ Auto-remove images: On βœ”                                β”‚
β”‚ Auto-update fs: Off πŸͺ“                                  β”‚
β”‚ Default start shell: zsh                                β”‚
β”‚ Shell logging method: asciinema                         β”‚
β”‚ Shell logging compression: On βœ”                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

⭐ Container summary                                                                    
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚             Name β”‚ demo                                                              β”‚
β”‚            Image β”‚ light - v.3.0.1 (Up to date) (amd64)                              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚    Creation date β”‚ 13/03/2023 23:18                                                  β”‚
β”‚              GUI β”‚ On βœ”                                                              β”‚
β”‚          Network β”‚ host                                                              β”‚
β”‚         Timezone β”‚ On βœ”                                                              β”‚
β”‚ Exegol resources β”‚ On βœ” (/opt/resources)                                             β”‚
β”‚     My resources β”‚ On βœ” (/opt/my-resources)                                          β”‚
β”‚    Shell logging β”‚ Off πŸͺ“                                                            β”‚
β”‚       Privileged β”‚ Off βœ”                                                             β”‚
β”‚        Workspace β”‚ Dedicated (/workspace)                                            β”‚
β”‚             Envs β”‚ DISPLAY=:0                                                        β”‚
β”‚                  β”‚ _JAVA_AWT_WM_NONREPARENTING=1                                     β”‚
β”‚                  β”‚ QT_X11_NO_MITSHM=1                                                β”‚
β”‚                  β”‚ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin β”‚
β”‚          Volumes β”‚ /etc/timezone ➑ /etc/timezone (RO)                                β”‚
β”‚                  β”‚ /etc/localtime ➑ /etc/localtime (RO)                              β”‚
β”‚                  β”‚ /home/haribo/.exegol/my-resources ➑ /opt/my-resources             β”‚
β”‚                  β”‚ /home/haribo/.exegol/exegol-resources ➑ /opt/resources            β”‚
β”‚                  β”‚ /home/haribo/.exegol/workspaces/demo ➑ /workspace                 β”‚
β”‚                  β”‚ /tmp/.X11-unix ➑ /tmp/.X11-unix                                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Execution logs in debug mode

exegol start -vvv
[*] Exegol is currently in version v4.1.1
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) πŸ™                                                                                           
[+] We thank HackTheBox for sponsoring the multi-arch support πŸ’š                                                                                                  
[D] Pip installation: On βœ”                                                                                                                                        
[D] Git source installation: Off πŸͺ“                                                                                                                               
[D] Host OS: Linux                                                                                                                                                
[D] Arch: amd64                                                                                                                                                   
[D] Raw arch: x86_64                                                                                                                                              
[D] Docker desktop: Off πŸͺ“                                                                                                                                        
[D] Shell type: Linux                                                                                                                                             
[D] Last update check: 13/03/2023                                                                                                                                 

[*] Starting exegol                                                                                                                                               
[D] Attribute not found in parameters: multicontainertag                                                                                                          
[D] == Loading container : exegol-fault                                                                                                                           
[D] Parsing envs : DISPLAY=:0                                                                                                                                     
[D] Adding env DISPLAY=:0                                                                                                                                         
[D] Parsing envs : _JAVA_AWT_WM_NONREPARENTING=1                                                                                                                  
[D] Adding env _JAVA_AWT_WM_NONREPARENTING=1                                                                                                                      
[D] Parsing envs : QT_X11_NO_MITSHM=1                                                                                                                             
[D] Adding env QT_X11_NO_MITSHM=1                                                                                                                                 
[D] Parsing envs : PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                              
[D] Adding env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                                  
[D] Parsing label : org.exegol.app                                                                                                                                
[D] Parsing label : org.exegol.build_date                                                                                                                         
[D] Parsing label : org.exegol.metadata.creation_date                                                                                                             
[D] Parsing label : org.exegol.src_repository                                                                                                                     
[D] Parsing label : org.exegol.tag                                                                                                                                
[D] Parsing label : org.exegol.version                                                                                                                            
[D] Capabilities : []                                                                                                                                             
[D] Load devices : []                                                                                                                                             
[D] Parsing mount : {'Type': 'bind', 'Source': '/tmp/.X11-unix', 'Destination': '/tmp/.X11-unix', 'Mode': '', 'RW': True, 'Propagation': 'rprivate'}              
[D] Parsing mount : {'Type': 'bind', 'Source': '/etc/timezone', 'Destination': '/etc/timezone', 'Mode': '', 'RW': False, 'Propagation': 'rprivate'}               
[D] Parsing mount : {'Type': 'bind', 'Source': '/etc/localtime', 'Destination': '/etc/localtime', 'Mode': '', 'RW': False, 'Propagation': 'rprivate'}             
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/my-resources', 'Destination': '/opt/my-resources', 'Mode': '', 'RW': True, 'Propagation':    
'rprivate'}                                                                                                                                                       
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/exegol-resources', 'Destination': '/opt/resources', 'Mode': '', 'RW': True, 'Propagation':   
'rprivate'}                                                                                                                                                       
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/workspaces/fault', 'Destination': '/workspace', 'Mode': '', 'RW': True, 'Propagation':       
'rprivate'}                                                                                                                                                       
[D] Loading workspace volume source : /home/haribo/.exegol/workspaces/fault                                                                                       
[D] Private workspace detected                                                                                                                                    
[D] └── light   β†’ (remote) sha256:7f4cf4a55f34cc2419b57c8b4286be4e5a053316ecce2e23cce5f17a38590571                                                                
[D] == Loading container : exegol-demo                                                                                                                            
[D] Parsing envs : DISPLAY=:0                                                                                                                                     
[D] Adding env DISPLAY=:0                                                                                                                                         
[D] Parsing envs : _JAVA_AWT_WM_NONREPARENTING=1                                                                                                                  
[D] Adding env _JAVA_AWT_WM_NONREPARENTING=1                                                                                                                      
[D] Parsing envs : QT_X11_NO_MITSHM=1                                                                                                                             
[D] Adding env QT_X11_NO_MITSHM=1                                                                                                                                 
[D] Parsing envs : PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                              
[D] Adding env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                                  
[D] Parsing label : org.exegol.app                                                                                                                                
[D] Parsing label : org.exegol.build_date                                                                                                                         
[D] Parsing label : org.exegol.metadata.creation_date                                                                                                             
[D] Parsing label : org.exegol.src_repository                                                                                                                     
[D] Parsing label : org.exegol.tag                                                                                                                                
[D] Parsing label : org.exegol.version                                                                                                                            
[D] Capabilities : []                                                                                                                                             
[D] Load devices : []                                                                                                                                             
[D] Parsing mount : {'Type': 'bind', 'Source': '/tmp/.X11-unix', 'Destination': '/tmp/.X11-unix', 'Mode': '', 'RW': True, 'Propagation': 'rprivate'}              
[D] Parsing mount : {'Type': 'bind', 'Source': '/etc/timezone', 'Destination': '/etc/timezone', 'Mode': '', 'RW': False, 'Propagation': 'rprivate'}               
[D] Parsing mount : {'Type': 'bind', 'Source': '/etc/localtime', 'Destination': '/etc/localtime', 'Mode': '', 'RW': False, 'Propagation': 'rprivate'}             
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/my-resources', 'Destination': '/opt/my-resources', 'Mode': '', 'RW': True, 'Propagation':    
'rprivate'}                                                                                                                                                       
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/exegol-resources', 'Destination': '/opt/resources', 'Mode': '', 'RW': True, 'Propagation':   
'rprivate'}                                                                                                                                                       
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/workspaces/demo', 'Destination': '/workspace', 'Mode': '', 'RW': True, 'Propagation':        
'rprivate'}                                                                                                                                                       
[D] Loading workspace volume source : /home/haribo/.exegol/workspaces/demo                                                                                        
[D] Private workspace detected                                                                                                                                    
[D] └── light   β†’ (remote) sha256:7f4cf4a55f34cc2419b57c8b4286be4e5a053316ecce2e23cce5f17a38590571                                                                
[D] == Loading container : exegol-default                                                                                                                         
[D] Parsing envs : DISPLAY=:0                                                                                                                                     
[D] Adding env DISPLAY=:0                                                                                                                                         
[D] Parsing envs : _JAVA_AWT_WM_NONREPARENTING=1                                                                                                                  
[D] Adding env _JAVA_AWT_WM_NONREPARENTING=1                                                                                                                      
[D] Parsing envs : QT_X11_NO_MITSHM=1                                                                                                                             
[D] Adding env QT_X11_NO_MITSHM=1                                                                                                                                 
[D] Parsing envs : PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                              
[D] Adding env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                                  
[D] Parsing label : org.exegol.app                                                                                                                                
[D] Parsing label : org.exegol.build_date                                                                                                                         
[D] Parsing label : org.exegol.metadata.creation_date                                                                                                             
[D] Parsing label : org.exegol.src_repository                                                                                                                     
[D] Parsing label : org.exegol.tag                                                                                                                                
[D] Parsing label : org.exegol.version                                                                                                                            
[D] Capabilities : []                                                                                                                                             
[D] Load devices : []                                                                                                                                             
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/workspaces/default', 'Destination': '/workspace', 'Mode': '', 'RW': True, 'Propagation':     
'rprivate'}                                                                                                                                                       
[D] Loading workspace volume source : /home/haribo/.exegol/workspaces/default                                                                                     
[D] Private workspace detected                                                                                                                                    
[D] Parsing mount : {'Type': 'bind', 'Source': '/tmp/.X11-unix', 'Destination': '/tmp/.X11-unix', 'Mode': '', 'RW': True, 'Propagation': 'rprivate'}              
[D] Parsing mount : {'Type': 'bind', 'Source': '/etc/timezone', 'Destination': '/etc/timezone', 'Mode': '', 'RW': False, 'Propagation': 'rprivate'}               
[D] Parsing mount : {'Type': 'bind', 'Source': '/etc/localtime', 'Destination': '/etc/localtime', 'Mode': '', 'RW': False, 'Propagation': 'rprivate'}             
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/my-resources', 'Destination': '/opt/my-resources', 'Mode': '', 'RW': True, 'Propagation':    
'rprivate'}                                                                                                                                                       
[D] Parsing mount : {'Type': 'bind', 'Source': '/home/haribo/.exegol/exegol-resources', 'Destination': '/opt/resources', 'Mode': '', 'RW': True, 'Propagation':   
'rprivate'}                                                                                                                                                       
[D] └── light   β†’ (remote) sha256:7f4cf4a55f34cc2419b57c8b4286be4e5a053316ecce2e23cce5f17a38590571                                                                

πŸ‘½ Available containers                                                                                                                                           
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Id           β”‚ Container tag β”‚ State   β”‚ Image tag     β”‚ Configurations          β”‚ Mounts                      β”‚ Devices β”‚ Ports β”‚ Envs                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ cd64b11a661d β”‚ fault         β”‚ Running β”‚ light (amd64) β”‚ Privileged: Off βœ”       β”‚ /tmp/.X11-unix ➑            β”‚         β”‚       β”‚ DISPLAY=:0                  β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ GUI: On βœ”               β”‚ /tmp/.X11-unix              β”‚         β”‚       β”‚ _JAVA_AWT_WM_NONREPARENTIN… β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Network mode: host      β”‚ /etc/timezone ➑             β”‚         β”‚       β”‚ QT_X11_NO_MITSHM=1          β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Share timezone: On βœ”    β”‚ /etc/timezone (RO)          β”‚         β”‚       β”‚ PATH=/usr/local/sbin:/usr/… β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Exegol resources: On βœ”  β”‚ /etc/localtime ➑            β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ My resources: On βœ”      β”‚ /etc/localtime (RO)         β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Shell logging: Off πŸͺ“   β”‚ /home/haribo/.exegol/my-re… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /opt/my-resources         β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /home/haribo/.exegol/exego… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /opt/resources            β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /home/haribo/.exegol/works… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /workspace                β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚                             β”‚         β”‚       β”‚                             β”‚
β”‚ 5f7ad050b2de β”‚ demo          β”‚ Running β”‚ light (amd64) β”‚ Privileged: Off βœ”       β”‚ /tmp/.X11-unix ➑            β”‚         β”‚       β”‚ DISPLAY=:0                  β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ GUI: On βœ”               β”‚ /tmp/.X11-unix              β”‚         β”‚       β”‚ _JAVA_AWT_WM_NONREPARENTIN… β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Network mode: host      β”‚ /etc/timezone ➑             β”‚         β”‚       β”‚ QT_X11_NO_MITSHM=1          β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Share timezone: On βœ”    β”‚ /etc/timezone (RO)          β”‚         β”‚       β”‚ PATH=/usr/local/sbin:/usr/… β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Exegol resources: On βœ”  β”‚ /etc/localtime ➑            β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ My resources: On βœ”      β”‚ /etc/localtime (RO)         β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Shell logging: Off πŸͺ“   β”‚ /home/haribo/.exegol/my-re… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /opt/my-resources         β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /home/haribo/.exegol/exego… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /opt/resources            β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /home/haribo/.exegol/works… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /workspace                β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚                             β”‚         β”‚       β”‚                             β”‚
β”‚ 65a6c57c7ad3 β”‚ default       β”‚ Running β”‚ light (amd64) β”‚ Privileged: Off βœ”       β”‚ /home/haribo/.exegol/works… β”‚         β”‚       β”‚ DISPLAY=:0                  β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ GUI: On βœ”               β”‚ ➑ /workspace                β”‚         β”‚       β”‚ _JAVA_AWT_WM_NONREPARENTIN… β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Network mode: host      β”‚ /tmp/.X11-unix ➑            β”‚         β”‚       β”‚ QT_X11_NO_MITSHM=1          β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Share timezone: On βœ”    β”‚ /tmp/.X11-unix              β”‚         β”‚       β”‚ PATH=/usr/local/sbin:/usr/… β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Exegol resources: On βœ”  β”‚ /etc/timezone ➑             β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ My resources: On βœ”      β”‚ /etc/timezone (RO)          β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚ Shell logging: Off πŸͺ“   β”‚ /etc/localtime ➑            β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /etc/localtime (RO)         β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /home/haribo/.exegol/my-re… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /opt/my-resources         β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ /home/haribo/.exegol/exego… β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚ ➑ /opt/resources            β”‚         β”‚       β”‚                             β”‚
β”‚              β”‚               β”‚         β”‚               β”‚                         β”‚                             β”‚         β”‚       β”‚                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

[*] You can use a name that does not already exist to create a new container                                                                                      
[?] Select a container by its name (fault): demo
[*] Location of the exegol workspace on the host : /home/haribo/.exegol/workspaces/demo                                                                           
[+] Opening shell in Exegol 'demo'                                                                                                                                
[D] Adding xhost ACL to local:exegol-demo                                                                                                                         
[D] Opening shell with: docker exec -ti 5f7ad050b2de7c71d4fabd9213b283930998f223a0d50994df9505b05a4fcb1a zsh                                                      
Error response from daemon: No such container: 5f7ad050b2de7c71d4fabd9213b283930998f223a0d50994df9505b05a4fcb1a

Exception

No response

Anything else?

No response

Dramelac commented 1 year ago

Hello,

Sorry for the inconvenience, that is the first time I see this error / use case ...

Can you run the following commands ?

Thank you for your report and your help!

reybango commented 1 year ago

@Dramelac No worries at all. Thanks for helping me out. I spent some time after trying to troubleshoot it so I did remove some of the containers and tried to recreate them but still had the same error.

CONTAINER ID   IMAGE         COMMAND    CREATED        STATUS                    PORTS     NAMES
88ddcea4948e   hello-world   "/hello"   9 hours ago    Exited (0) 9 hours ago              loving_shockley
a3c370910e2a   hello-world   "/hello"   10 hours ago   Exited (0) 10 hours ago             hungry_austin

image

reybango commented 1 year ago

@Dramelac I reinstalled everything from scratch and now it's working. I can access the containers based off of the images. Not sure what the issue was but it seems reinstalling everything fixed it.

Dramelac commented 1 year ago

Did you install docker in rootless mode the first time ? I dont really now why your docker was behaving like that, my only idea is that your where in docker rootless mode and your daemon docker had some user container and root container

TLDR: If you were in docker rootless mode, Exegol wrapper doesn't support it (yet)

ShutdownRepo commented 1 year ago

I think he was, as per https://github.com/ThePorgs/Exegol/issues/146

reybango commented 1 year ago

@Dramelac not sure but @ShutdownRepo said, I may have been. I've since reinstalled everything from scratch and it's working as expected now.