Git Product home page Git Product logo

Comments (8)

rhatdan avatar rhatdan commented on August 28, 2024 1

Nope, just sign your PR, and receive our gratitude. :^)

from crun.

rhatdan avatar rhatdan commented on August 28, 2024

SGTM. @joaompinto Interested in opening a PR?

from crun.

joaompinto avatar joaompinto commented on August 28, 2024

@rhatdan. I will do, please let me know if there are any contribution formal pre-requirements.

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

crun should already list the created containers. I'd need to investigate that. Is it reproducible? Are you running the crun processes from the same context (i.e. same environment variables)?

from crun.

joaompinto avatar joaompinto commented on August 28, 2024

It's reproducible, I am not changing environment, please note that my description for "created" might be inaccurate for this specific test case. There is an error related to the missing --console-socket parameter, but there is a /run/user/1000/crun/container_id/ .

$ crun create random_id
2019-11-08T21:03:35.000929142Z: use --console-socket with create when a terminal is used
~/tmp/test
$ crun create random_id
2019-11-08T21:03:53.000134983Z: container 'random_id' already exists
~/tmp/test
$ crun list
NAME PID       STATUS   BUNDLE PATH                            
~/tmp/test
$ ls -ltrd /run/user/1000/crun/random_id/
drwx------ 2 jpinto jpinto 60 Nov  8 22:03 /run/user/1000/crun/random_id/

from crun.

joaompinto avatar joaompinto commented on August 28, 2024

Anyway, even after creating a container without getting cli errors, I don't get it listed:

$ crun create --console-socket /tmp/test_socket test_id
~/tmp/test
$ crun list
NAME PID       STATUS   BUNDLE PATH                            
~/tmp/test
$ ls -ltr /run/user/1000/crun/test_id/
total 4
prw------- 1 jpinto jpinto    0 Nov  8 22:09 exec.fifo
-rwx------ 1 jpinto jpinto 2555 Nov  8 22:09 config.json
~/tmp/test

from crun.

giuseppe avatar giuseppe commented on August 28, 2024

thanks for the extra info, could you verify if #169 solves the issue for you too?

from crun.

joaompinto avatar joaompinto commented on August 28, 2024

It solves. Thanks for the fix.

from crun.

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.