Docker打开一个不起作用的小窗口 [英] Docker opens up a tiny new window that does nothing

查看:210
本文介绍了Docker打开一个不起作用的小窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这与上一个问题相关 -

在Ubuntu 12.04下,当我运行任何docker命令,如:

Under Ubuntu 12.04 when I run any docker command like:

sudo docker pull ubuntu

重点从我的终端丢失,一个微小的(几乎不显眼)的新窗口打开。当我扩大窗口时,没有任何东西(只是黑色)。当我关闭它时,我收到错误消息(在原始终端):

The focus is lost from my terminal and a tiny (barely noticeable) new window opens up. When I expand the window there is nothing in it (just blackness). When I close it I get the error message (in the original terminal):

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 32 requests (32 known processed) with 0 events remaining.


推荐答案

有两个不同的程序名为docker。你正在使用错误的一个。

There are 2 different programs named "docker". You are using the wrong one.

(我实际上只是在整个下午浪费了这个问题,希望这个答案可以节省别人一段时间。)

(I actually just wasted the whole afternoon on this problem too. Hopefully this answer will save someone else some time.)

你(和我)希望使用的是docker: https://www.docker.io/

What you (and I) were hoping to have been using was the "docker" from: https://www.docker.io/

然而,您(和我)实际使用的是Ben创建的docker Jansens是一个对接系统托盘。

However, what you (and I) were actually using was the "docker" created by Ben Jansens that is a "Docking System Tray".

这是另一个docker的README的一个简短摘录:

Here is a short excerpt from the README of this other "docker":


Docker是一个对接应用程序(WindowMaker dock应用程序),用作KDE3和GNOME2的
系统托盘。它可以用于在任一环境中替换面板
,允许您在没有
的系统托盘中运行KDE / GNOME面板。

Docker is a docking application (WindowMaker dock app) which acts as a system tray for KDE3 and GNOME2. It can be used to replace the panel in either environment, allowing you to have a system tray without running the KDE/GNOME panel.

(这是创建该小窗口的程序。)

(This is the program creating that tiny window.)

我通过执行以下操作获得了另一个docker:

I got this other "docker" by doing a:


sudo apt-get install docker

sudo apt-get install docker

... on Linux Mint 16(Petra)。这是基于Ubuntu 13.10(Saucy)。

... on Linux Mint 16 (Petra). Which is based on Ubuntu 13.10 (Saucy).

(您可能已经做了类似的事情。)

(You may have done something similar.)

我的解决方案是摆脱这个其他的码头工程师:

For me the solution was to get rid of this other "docker" with:


sudo apt-get删除docker

sudo apt-get remove docker

...(正如我将要做的)从www.docker.io获得docker

... and (as I am about to do) go get the "docker" from www.docker.io

只是一个旁注,我想到的是通过键入命令:

Just a side note, the way I figured this out was by typing the command:


docker --help

docker --help

然后注意到作者的名称(Ben Jansens)。然后在网上搜索Ben Jansens docker。

And then noting the name of the author ("Ben Jansens"). And then searching the web for "Ben Jansens docker".

把我带到这个README文件:
http://tint2.googlecode.com/svn-history/r31/trunk/src/systray/README

That brought me to this README file: http://tint2.googlecode.com/svn-history/r31/trunk/src/systray/README

这篇关于Docker打开一个不起作用的小窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆