Results 1 to 3 of 3

Thread: LXC Ubuntu container packages for installation

Threaded View

  1. #1
    Join Date
    Aug 2024
    Beans
    6

    LXC Ubuntu container packages for installation

    I've created many instances of Ubuntu images using the LXD CLI and experimented with them. However, when it comes to configuring these system containers I'm a noob.
    I had thought that when inside a container, that I could use apt-get for instance, to install packages.
    For instance, I'd like to have GCC and net-tools installed in my container but there appears to be no internet access back through my host adapter.
    I've done google searches for this kind of thing and looked at the doc but nothing specifically addresses my problem which seem fundamental.
    Obviously I'm missing something here. Can anyone direct me to documentation or examples to get me rolling?
    Should I be using the lower level tools i.e. lxc-* or can I use the lxc commands in the CLI (LXD) to accomplish what I'm trying to do?
    Thanks a lot in advance.
    Last edited by guitgentlygeeps; September 4th, 2024 at 08:42 PM. Reason: More clarification in my question

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •