无法将-t -i选项传递给ubuntu上的docker ...我错过了什么吗?

时间:2014-09-18 16:25:35

标签: docker

我刚刚开始学习Docker,大多数教程都以:docker run -t -i ubuntu /bin/bash

开头

我可以docker run ubuntu /bin/bash

使用它

我能错过什么?

root@njain2:~# docker run -t -i ubuntu /bin/bash
docker - version 1.4
Copyright 2003, Ben Jansens <ben@orodu.net>

Usage: docker [OPTIONS]

Options:
  -help             Show this help.
  -display DISPLAY  The X display to connect to.
  -border           The width of the border to put around the
                    system tray icons. Defaults to 1.
  -vertical         Line up the icons vertically. Defaults to
                    horizontally.
  -wmaker           WindowMaker mode. This makes docker a
                    fixed size (64x64) to appear nicely in
                    in WindowMaker.
                    Note: In this mode, you have a fixed
                    number of icons that docker can hold.
  -iconsize SIZE    The size (width and height) to display
                    icons as in the system tray. Defaults to
                    24.
  -color COLOR      The background color to use for the tray.
                    Defaults to whatev

1 个答案:

答案 0 :(得分:6)

您安装了错误的泊坞窗。

你有这个:http://icculus.org/openbox/2/docker/

你想要这个:https://www.docker.com/

[edit]显然在ubuntu中,这个包叫做docker.io而不是docker。