登陆特定的镜像网站
docker login docker.discover-lab.com:55555
根据提示输入账号和密码
账号:
huangshukun
密码:
Huangshukun123
规律:
账号:队员成员人名小写
密码:队员成员人名小写加上123,然后把首字母大写
测试过的账号和密码:
账号:
zhuweilin
密码:
Zhuweilin123
构建镜像
基本语法:
需要在
scripts/build.sh所在的目录下运行
CLIENT_IMAGE=docker.discover-lab.com:55555/[project_name]/client:[tag] bash scripts/build.sh
Replace
[project_name]with your project name in the registry.
To request a simulation test,[tag]should starts withsim-.
To request a real test,[tag]should starts withreal-.
Note that, images whose name are notclientwill be ignored by the online testing system.
我们的
[project_name]为sztu
CLIENT_IMAGE=docker.discover-lab.com:55555/sztu/client:[tag] bash scripts/build.sh
实例:
CLIENT_IMAGE=docker.discover-lab.com:55555/sztu/client:sim-v0 bash scripts/build.sh
提交镜像
基本语法:
docker push docker.discover-lab.com:55555/[project_name]/client:[tag]
对应上文构建的镜像,注意
[project_name]和[tag],确保提交对应的镜像
You may find the testing result of your images on
https://sim2real.discover-lab.com:11011/list/[inquire_hash].
实例:
docker push docker.discover-lab.com:55555/sztu/client:sim-v0
提交成功
- 获得反馈信息
sim-v0: digest: sha256:576a58e25957d573fc17d8e8e4dac6f732fd449b6038f2d9d8ef442cfa5e2601 size: 7669
- 在网站docker registry可以查看
如图
