⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Container Support
Overview
Roadmap
Issues
Gantt
Agile board
Calendar
Wiki
Repository
Download (647 Bytes)
Issue #5736
ยป dockersync.bash
lmjachky
, 11/17/2019 04:05 PM
http POST http://localhost:24817/pulp/api/v3/repositories/container/container/
name
=
foo
export
REPO_HREF
=
$(
http :24817/pulp/api/v3/repositories/container/container/ | jq
-r
'.results[] | select(.name == "foo") | .pulp_href'
)
http POST http://localhost:24817/pulp/api/v3/remotes/container/container/
name
=
'library/busybox'
upstream_name
=
'busybox'
url
=
'https://registry-1.docker.io'
policy
=
'immediate'
#download_concurrency=2
export
REMOTE_HREF
=
$(
http :24817/pulp/api/v3/remotes/container/container/ | jq
-r
'.results[] | select(.name == "library/busybox") | .pulp_href'
)
http POST
':24817'
$REPO_HREF
'sync/'
remote
=
$REMOTE_HREF
``
mirror
=
False
(1-1/1)
Loading...