|
dockerCmd(t, "run", "-d", "--name", "test", "busybox")
|
|
dockerCmd(t, "run", "-d", "--name", "test", "busybox")
|
|
// Expect this to fail because the above container is stopped, this is what we want
|
|
// Expect this to fail because the above container is stopped, this is what we want
|
|
if _, err := runCommand(exec.Command(dockerBinary, "run", "-d", "--name", "test2", "--link", "test:test", "busybox")); err == nil {
|
|
if _, err := runCommand(exec.Command(dockerBinary, "run", "-d", "--name", "test2", "--link", "test:test", "busybox")); err == nil {
|