mirror of
https://github.com/moby/moby.git
synced 2025-08-01 05:47:11 +03:00
pull only busybox:latest
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
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