Project

Profile

Help

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)