Skip to content

Commit a1da5e1

Browse files
committed
Use "instance" instead of "container" when creating image from container
1 parent 94eee7d commit a1da5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Endpoint/Images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function createFromRemote($server, array $options, $autoUpdate = false, $
172172
public function createFromContainer($name, array $options, $wait = false)
173173
{
174174
$opts = $this->getOptions($options);
175-
$opts['source']['type'] = 'container';
175+
$opts['source']['type'] = 'instance';
176176
$opts['source']['name'] = $name;
177177

178178
return $this->create($opts, [], $wait);

0 commit comments

Comments
 (0)