diff --git a/src/Container/Container.php b/src/Container/Container.php index ce482c5..b3f7696 100644 --- a/src/Container/Container.php +++ b/src/Container/Container.php @@ -20,6 +20,25 @@ class Container extends GenericContainer return new self($image); } + /** + * @deprecated Use `withCommand` instead + * @param array $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 */