mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
pull only busybox:latest
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux) Upstream-commit: b8932abcd3f3932b6b56aa859b4c0762a95f7179 Component: engine
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
// pulling an image from the central registry should work
|
// pulling an image from the central registry should work
|
||||||
func TestPullImageFromCentralRegistry(t *testing.T) {
|
func TestPullImageFromCentralRegistry(t *testing.T) {
|
||||||
pullCmd := exec.Command(dockerBinary, "pull", "busybox")
|
pullCmd := exec.Command(dockerBinary, "pull", "busybox:latest")
|
||||||
out, exitCode, err := runCommandWithOutput(pullCmd)
|
out, exitCode, err := runCommandWithOutput(pullCmd)
|
||||||
errorOut(err, t, fmt.Sprintf("%s %s", out, err))
|
errorOut(err, t, fmt.Sprintf("%s %s", out, err))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user