diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php
index de80adbef..8bad79708 100644
--- a/bootstrap/helpers/docker.php
+++ b/bootstrap/helpers/docker.php
@@ -702,6 +702,7 @@ function convertDockerRunToCompose(?string $custom_docker_run_options = null)
'--ulimit',
'--device',
'--shm-size',
+ '--hostname',
]);
$mapping = collect([
'--cap-add' => 'cap_add',
@@ -715,6 +716,7 @@ function convertDockerRunToCompose(?string $custom_docker_run_options = null)
'--ip' => 'ip',
'--shm-size' => 'shm_size',
'--gpus' => 'gpus',
+ '--hostname' => 'hostname'
]);
foreach ($matches as $match) {
$option = $match[1];
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php
index 8c12d1d62..8bf41a986 100644
--- a/resources/views/livewire/project/application/general.blade.php
+++ b/resources/views/livewire/project/application/general.blade.php
@@ -181,7 +181,7 @@
@if ($application->build_pack === 'dockerimage')
@else
@if ($application->could_set_build_commands())
@@ -274,7 +274,7 @@
@endif
@if ($application->build_pack !== 'dockercompose')