Garde-Havoc/bot/spawner.py
2024-10-09 18:29:51 +02:00

8 lines
112 B
Python

import docker
client = docker.from_env()
print(client.containers.run("itzg/minecraft-server", detach=True))