Using apt in the Official Ubuntu Docker Image

0
7
Asked By CuriousCat42 On

Hey everyone! I'm trying to figure out how to use apt to install "ubuntu-desktop" on the official Ubuntu image I pulled from Docker Hub. However, when I run the "apt update" command, I keep getting a "public key" GPG error. Any advice on how to fix this issue? Thanks!

1 Answer

Answered By TechieTurtle21 On

Before diving in, just a quick thought—why are you attempting to install 'ubuntu-desktop' in a Docker container? That might be better suited for a virtual machine. Could you share the exact error message you're seeing when you try to run the commands? Sometimes a quick Google search on the error can lead you to a solution.

CuriousCat42 -

I know a VM is an option, but I'm really aiming for a container setup. My plan is to install Ubuntu with a GUI and access it through VNC on a Windows machine.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.