mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
client/container_create: Add Image outside of Config
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -557,7 +557,7 @@ func (s *DockerAPISuite) TestContainerAPICreateEmptyConfig(c *testing.T) {
|
||||
NetworkingConfig: &network.NetworkingConfig{},
|
||||
})
|
||||
|
||||
assert.ErrorContains(c, err, "no command specified")
|
||||
assert.ErrorContains(c, err, "config.Image or Image is required")
|
||||
}
|
||||
|
||||
func (s *DockerAPISuite) TestContainerAPICreateBridgeNetworkMode(c *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user