Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop zgh #3

Closed
wants to merge 7 commits into from
Closed

Develop zgh #3

wants to merge 7 commits into from

Conversation

87ZGitHub
Copy link

newApi: /api/experiments/<experiment_id>/dockerimage
return imagename:tag of new build docker image

@87ZGitHub 87ZGitHub requested a review from louis-she May 20, 2019 03:59
.gitignore Outdated Show resolved Hide resolved
minetorch/dockerlise.py Outdated Show resolved Hide resolved
minetorch/web/api/__init__.py Outdated Show resolved Hide resolved
minetorch/web/api/__init__.py Outdated Show resolved Hide resolved
minetorch/dockerlise.py Outdated Show resolved Hide resolved
minetorch/dockerize.py Show resolved Hide resolved
minetorch/dockerize.py Outdated Show resolved Hide resolved
docker_tag = img[0].tags[0]
# step 3 run local registry
print("step 3 begin")
client.containers.run(image='docker.io/registry:latest', detach=True, ports={'5000/tcp': 6000})
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个只有第一次 build image 才需要吧? 难道每次build 一个 image 都要去起个 docker registry?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最好在起 Minetorch Server 的时候就把仓库 Server 也跑起来,默认每次 build image 的时候,仓库都是起了的

minetorch/dockerize.py Outdated Show resolved Hide resolved
@louis-she louis-she closed this Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants