Code Monkey home page Code Monkey logo

Comments (8)

TH3xACE avatar TH3xACE commented on July 26, 2024 1

Thanks for your help :)

from exegol.

ShutdownRepo avatar ShutdownRepo commented on July 26, 2024

Hey there, thank you πŸ˜„ have you taken a look at the /workspace directory in the container? That's where the current directory is mounted

from exegol.

TH3xACE avatar TH3xACE commented on July 26, 2024

thanks for replying... didnt find the /workspace directory :(

from exegol.

ShutdownRepo avatar ShutdownRepo commented on July 26, 2024

Can you please share your command, and the result of your command, running with -vv for extra verbosity?
Can you also run exegol version on your host, and cat /opt/.exegol_version in the container?

from exegol.

TH3xACE avatar TH3xACE commented on July 26, 2024

Command:

 $ exegol start --cwd-mount

 $ exegol version
[*] You are running version 3.1.10

[Jan 31, 2022 - 16:27:34 (UTC)] exegol-master /data # cat /opt/.exegol_version
3.1.10

============================

[DEBUG] Local git branch: master
[+] 1 Exegol images exist
[*] No container tag (-t/--container-tag) supplied
[*] Available local containers: 1
[DEBUG] Fetching details on containers creation
[DEBUG] Looking for the 'DISPLAY' environment variable in the container /exegol-master
[DEBUG] Looking for the 'host' value in the 'Networks' attribute in the container /exegol-master
[DEBUG] Looking for the 'Devices' attribute in the container /exegol-master
[DEBUG] Looking for the 'Privileged' attribute in the container /exegol-master
[DEBUG] Fetching volumes for each container
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Id           β”‚ Container tag β”‚ State   β”‚ Image (repo/image:tag) β”‚ Creation details     β”‚ Binds & mounts                  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 0b8932a707b0 β”‚ master        β”‚ running β”‚ nwodtuhs/exegol:stable β”‚ --X11 --host-network β”‚ /opt/Exegol/shared-data-volume… β”‚
β”‚              β”‚               β”‚         β”‚                        β”‚                      β”‚ ↔ /data                         β”‚
β”‚              β”‚               β”‚         β”‚                        β”‚                      β”‚ /tmp/.X11-unix ↔ /tmp/.X11-unix β”‚
β”‚              β”‚               β”‚         β”‚                        β”‚                      β”‚ /opt/Exegol/shared-resources ↔  β”‚
β”‚              β”‚               β”‚         β”‚                        β”‚                      β”‚ /opt/resources                  β”‚
β”‚              β”‚               β”‚         β”‚                        β”‚                      β”‚                                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

[DEBUG] Available local containers: 1
[DEBUG] Fetching 'FinishedAt' attribute for each container
[DEBUG] └── /exegol-master β†’ 2022-01-28T19:07:04.327440848Z
[DEBUG] Last created container: master
[DEBUG] Fetching volumes for each container
[DEBUG] └── /exegol-master β†’ ['/opt/Exegol/shared-data-volumes/master', '/tmp/.X11-unix', '/opt/Exegol/shared-resources']
[?] What container do you want to start [default: master]? 
[DEBUG] Containers with name exegol-master: 1
[+] Container exists
[+] Container is up
[DEBUG] Looking for the 'Devices' attribute in the container /exegol-master
[DEBUG] Looking for the 'Privileged' attribute in the container /exegol-master
[DEBUG] Looking for the 'host' value in the 'Networks' attribute in the container /exegol-master
[VERBOSE] Container was created with host networking
[DEBUG] Looking for the 'DISPLAY' environment variable in the container /exegol-master
[VERBOSE] Container was created with display sharing
[DEBUG] Looking for the 'DISPLAY' environment variable in the container /exegol-master
[*] Running xhost command for display sharing
[DEBUG] Running command on host with subprocess.Popen(): ['xhost', '+local:exegol-master']
[DEBUG] (cmd stdout) non-network local connections being added to access control list
[*] Entering Exegol
[DEBUG] Running on host with os.system(): docker exec -ti exegol-master zsh

from exegol.

ShutdownRepo avatar ShutdownRepo commented on July 26, 2024

Thank you for the details
My guess is you are trying to launch an existing container with --cwd-mount but that same container was not set with --cwd-mount at its creation

Can you try to execute exegol start -t newcontainer --cwd-mount to attempt at creating a new container with that option set right from the beginning?

from exegol.

TH3xACE avatar TH3xACE commented on July 26, 2024

It works when creating the container. Ah I see... the mounting can be done only when creating the container ? after creation it cannot be changed ? it stays the same as the one created initially right ?

from exegol.

ShutdownRepo avatar ShutdownRepo commented on July 26, 2024

You got it πŸ˜‰ docker works that way
Closing the issue then

from exegol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.