Merge pull request #1032 from yzy613/patch-1

feat(docker_start.ts): sync assign hostname
This commit is contained in:
unitwk 2023-10-09 09:28:40 +08:00 committed by GitHub
commit 84a3923a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,6 +202,7 @@ export default class DockerStartCommand extends InstanceCommand {
const docker = new Docker();
const container = await docker.createContainer({
name: containerName,
Hostname: containerName,
Image: instance.config.docker.image,
AttachStdin: true,
AttachStdout: true,