mirror of
https://github.com/DerTyp7/docker_minecraft_server_auto_starter.git
synced 2025-10-29 12:42:09 +01:00
Add new environment variable for starting
placeholder server
This commit is contained in:
@@ -40,3 +40,7 @@ class DockerHandler:
|
||||
print('no docker container found with ip {} in network {}'.format(
|
||||
ip, self.current_network))
|
||||
return None
|
||||
|
||||
def is_container_starting(self, container):
|
||||
print(container.attrs['State']['Health']['Status'])
|
||||
return container.attrs['State']['Health']['Status'] == 'starting'
|
||||
|
||||
Reference in New Issue
Block a user