Skip to content

lxd improvements #536

@TheJJ

Description

@TheJJ
  • since it can also do virtualization, should not be in containers section only, rather move to virt - maybe unify both sections and include the remaining container articles incl docker.
  • generally, this article could be shorter and mainly refer to the lxd upstream documentation. it should contain a start guide and some practical examples, but refer to other docs otherwise.
  • "swapaccount=1 must be set." -> why? probably can just be left out.
  • lxd init:
    • this important command should be listed as a big command box, currently it's hidden in-line (and even wraps).
    • btrfs should be listed as an option (instead of just "Directory or ZFS container backend.")
  • adduser joe lxd rather use gpasswd -a joe lxd since adduser's usage is often being confused
  • the description about listing remote images mentions aliases like 18.04, but the code example below doesn't use it. the next command does so, so the bionic alias description should also be moved down to that command.
  • containers can also be created without starting them, so we should also mention lxc init ... (next to lxc start ...)
  • examples mentioning bionic should be updated to use resolute and 26.04
  • logging in: add a "true login shell" (which correctly initializes the environment, session, user session manager, pty ownership for gpg key entry, ...) instead of a plain bash invocation
    • lxc exec canonical -- sudo -i -u ubuntu
  • lxc config set core.trust_password PASSWORD returns Error: Cannot set "core.trust_password" to "PASSWORD": Unknown key (also for other passwords)
  • lxc config device add c1 opt disk source=/opt path=opt should say lxc config device add c1 opt-mount disk source=/opt path=/opt
  • lxc snapshot c1 YYYY-MM-DD should rather say snapshot-name instead of the date pattern.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions