我刚刚开始学习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
答案 0 :(得分:6)
您安装了错误的泊坞窗。
你有这个:http://icculus.org/openbox/2/docker/
你想要这个:https://www.docker.com/
[edit]显然在ubuntu中,这个包叫做docker.io而不是docker。