The containers with Ubuntu perform a daily check for security updates, therefore, if you had left the container running for a day, then it would have ran apt update by itself. I suppose this was the issue you did not run this command, therefore the container did not have any list of packages. Second, when you get a shell in the container, you need to run apt update so that the package list is updated. In this case it would be OK to also use images:ubuntu/18.04, however for some other tasks it is better to stick to ubuntu:18.04. $ lxc exec bionic apt apt policy qt5-defaultĥ00 bionic/universe amd64 you launch the container from ubuntu:18.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |