我是 docker 和 linux 的新手,我尝试在我的新 Ubuntu 20.04 LTS 上安装 docker。
\n\n我遵循这些说明:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
\n\n当我到达此命令时:sudo apt install docker-ce
,我收到此错误:
Reading package lists... Done\nBuilding dependency tree \nReading state information... Done\ndocker-ce is already the newest version (5:19.03.9~3-0~ubuntu-focal).\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n1 not fully installed or removed.\nAfter this operation, 0 B of additional disk space will be used.\nDo you want to continue? [Y/n] y\nSetting up docker-ce (5:19.03.9~3-0~ubuntu-focal) ...\nJob for docker.service failed because the control …
Run Code Online (Sandbox Code Playgroud) 我使用的是Ubuntu 20.04,升级后,我的分辨率在重新启动时被重置。我从1920x1080分辨率变为800x600。
我通常使用arandr来调整分辨率,但现在我只有800x600选项。我的输出被命名VGA
或类似的东西。现在它被称为default
.
当我输入命令时xrandr -q
,我得到了这个:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
800x600 75.00*
Run Code Online (Sandbox Code Playgroud)
有人可以帮我紧急解决这个问题吗?像这样工作几乎是不可能的。
顺便说一句,我已经尝试过这些: 尝试添加新的屏幕分辨率时无法获取默认输出的伽马大小 和/sf/ask/3317416861/ of-gamma-for-output-default没有任何成功。
当我输入 this 时lspci | grep VGA
,我得到以下输出:
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1)
Run Code Online (Sandbox Code Playgroud)
我真的不知道这是否重要,但我看到人们在几篇文章中给出了他们的 GPU …