Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
| ... | ... |
@@ -48,7 +48,7 @@ type Config struct {
|
| 48 | 48 |
Cmd strslice.StrSlice // Command to run when starting the container |
| 49 | 49 |
Healthcheck *HealthConfig `json:",omitempty"` // Healthcheck describes how to check the container is healthy |
| 50 | 50 |
ArgsEscaped bool `json:",omitempty"` // True if command is already escaped (Windows specific) |
| 51 |
- Image string // Name of the image as it was passed by the operator (eg. could be symbolic) |
|
| 51 |
+ Image string // Name of the image as it was passed by the operator (e.g. could be symbolic) |
|
| 52 | 52 |
Volumes map[string]struct{} // List of volumes (mounts) used for the container
|
| 53 | 53 |
WorkingDir string // Current directory (PWD) in the command will be launched |
| 54 | 54 |
Entrypoint strslice.StrSlice // Entrypoint to run when starting the container |
| ... | ... |
@@ -18,7 +18,7 @@ docker-version-osarch() {
|
| 18 | 18 |
' |
| 19 | 19 |
} |
| 20 | 20 |
|
| 21 |
-# Retrieve OS/ARCH of docker daemon, eg. linux/amd64 |
|
| 21 |
+# Retrieve OS/ARCH of docker daemon, e.g. linux/amd64 |
|
| 22 | 22 |
export DOCKER_ENGINE_OSARCH="$(docker-version-osarch 'Server')" |
| 23 | 23 |
export DOCKER_ENGINE_GOOS="${DOCKER_ENGINE_OSARCH%/*}"
|
| 24 | 24 |
export DOCKER_ENGINE_GOARCH="${DOCKER_ENGINE_OSARCH##*/}"
|
| ... | ... |
@@ -8,7 +8,7 @@ bundle_test_integration_cli() {
|
| 8 | 8 |
} |
| 9 | 9 |
|
| 10 | 10 |
# If $TESTFLAGS is set in the environment, it is passed as extra arguments to 'go test'. |
| 11 |
-# You can use this to select certain tests to run, eg. |
|
| 11 |
+# You can use this to select certain tests to run, e.g. |
|
| 12 | 12 |
# |
| 13 | 13 |
# TESTFLAGS='-test.run ^TestBuild$' ./hack/make.sh test-unit |
| 14 | 14 |
# |
| ... | ... |
@@ -3,7 +3,7 @@ set -e |
| 3 | 3 |
|
| 4 | 4 |
# Run Docker's test suite, including sub-packages, and store their output as a bundle |
| 5 | 5 |
# If $TESTFLAGS is set in the environment, it is passed as extra arguments to 'go test'. |
| 6 |
-# You can use this to select certain tests to run, eg. |
|
| 6 |
+# You can use this to select certain tests to run, e.g. |
|
| 7 | 7 |
# |
| 8 | 8 |
# TESTFLAGS='-test.run ^TestBuild$' ./hack/make.sh test-unit |
| 9 | 9 |
# |