Merge pull request #1 from rw4lll/merge

Merge
This commit is contained in:
Sergei Shitikov
2024-09-27 17:19:33 +02:00
committed by GitHub
+19
View File
@@ -20,6 +20,25 @@ class Container extends GenericContainer
return new self($image);
}
/**
* @deprecated Use `withCommand` instead
* @param array<string> $cmd
*/
public function withCmd(array $cmd): self
{
return $this->withCommand($cmd);
}
/**
* @deprecated Use `withEntrypoint` instead
* TODO: this is just dummy method for compatibility,
* the implementation with Docker Engine API should be discussed
*/
public function withHostname(string $hostname): self
{
return $this;
}
/**
* @deprecated Use `withPrivilegedMode` instead
*/