1
0
mirror of https://github.com/dvddarias/docker-hoster synced 2026-08-05 16:12:43 +02:00

1 Commits

Author SHA1 Message Date
osiu97 e379c6e8b4 Zaktualizuj 'Dockerfile' 2020-05-29 15:28:03 +02:00
2 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM frolvlad/alpine-python3
FROM python:3-alpine
RUN pip3 install docker
RUN mkdir /hoster
-7
View File
@@ -55,13 +55,6 @@ def main():
hosts.pop(container_id)
update_hosts_file()
if status=="rename":
container_id = e["id"]
if container_id in hosts:
container = get_container_data(dockerClient, container_id)
hosts[container_id] = container
update_hosts_file()
def get_container_data(dockerClient, container_id):
#extract all the info with the docker api