UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Problem with libertine

    General
    2
    4
    292
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xinyiman last edited by

      Hi guys, I have problem when I create one container with this command

      libertine-container-manager create -i myapp

      return this

      libertine-container-manager:123: ERROR: create(): Impossible crete container: 'No module named 'libertine.LxdContainer''

      Why? How resolve?

      Thank you

      1 Reply Last reply Reply Quote 0
      • mikhael
        mikhael last edited by

        @xinyiman said in Problem with libertine:

        Why?

        python3-libertine-lxd package is, I believe, required to create LXD containers and it's not installed by default. As for why it's not installed -- I don't know. We need someone more knowledgeable here 🙂

        How resolve?

        libertine-container-manager create -i myapp -t chroot will create a chroot container

        1 Reply Last reply Reply Quote 0
        • X
          xinyiman last edited by

          Thank you, with your suggestion I have created my first container. But now I moved my gtk application into this path:

          cp test_laz2 ~/.cache/libertine-container/myapp/rootfs/tmp/

          But now how do I launch my application inside my container?

          1 Reply Last reply Reply Quote 0
          • mikhael
            mikhael last edited by

            I haven't tried to run desktop applications from Libertine, so have no experience here.
            For command line apps libertine-container-manager exec and libertine-launch commands works for me.

            Have you tried running ubuntu-app-launch <CONTAINER_ID>_<desktop_file_name>_0.0 command (from the docs)?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post