mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-24 15:14:01 +08:00
Merge pull request #1032 from yzy613/patch-1
feat(docker_start.ts): sync assign hostname
This commit is contained in:
commit
84a3923a61
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user