Add common docker error when version is wrong

Also updated gofer image with more accurate boundaries.

PiperOrigin-RevId: 195373809
Change-Id: Id91f31fedf33db43a20bd678c1ca7d19287e85ff
This commit is contained in:
Fabricio Voznika
2018-05-03 23:27:22 -07:00
committed by Shentubot
parent c186ebb62a
commit 3ea6805e54
3 changed files with 8 additions and 3 deletions
+7 -2
View File
@@ -188,8 +188,8 @@ cd gvisor
Build and install the `runsc` binary.
It is important to copy this binary to some place that is accessible to all
users, since `runsc` executes itself as user `nobody` to avoid unnecessary
**It is important to copy this binary to some place that is accessible to all
users**, since `runsc` executes itself as user `nobody` to avoid unnecessary
privileges. The `/usr/local/bin` directory is a good choice.
```
@@ -377,6 +377,11 @@ find a container that doesnt work and there is no known issue, please [file a
bug][bug] indicating the full command you used to run the image. Providing the
debug logs is also helpful.
### When I run my container, docker fails with `flag provided but not defined: -console`
You're using an old version of Docker. Refer to the
[Requirements](#requirements) section for the minimum version supported.
### My container runs fine with *runc* but fails with *runsc*.
If youre having problems running a container with `runsc` its most likely due
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB