You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting source image ancestors DONE Searching all dest images DONE Found common parent: sha256:e548f1a579cf5 111-----/tmp/nginx_1.34_151989222218_sync_temp.tar.gz------sha256:e548f1a579cf529320a3c1d8789399e5fea0bfaa04cbb70d03890afafb748a2f Dumping local parent Traceback (most recent call last): File "/usr/local/bin/syncregistry", line 239, in <module> main() File "/usr/local/bin/syncregistry", line 86, in main _, output = execute("docker save -o %s %s"%(file_name, common_parent)) File "/usr/local/bin/syncregistry", line 202, in execute p = subprocess.Popen(parts, stdout=subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I try to build a layer on the top of an existing images, and then send the delta between local and remote :
docker file : FROM nginx:latest RUN apt-get update && apt-get install -y apache2 && apt-get clean && rm -rf /var/lib/apt/lists/*
then i build the images
sudo docker build -t="nginx:1.34" .
then i try to transfer the diff between local and remote (the basic nginx images already exit in remote ) :
/usr/local/bin/syncregistry [email protected] nginx:1.34 -p
Getting source image ancestors DONE Searching all dest images DONE Found common parent: sha256:e548f1a579cf5 111-----/tmp/nginx_1.34_151989222218_sync_temp.tar.gz------sha256:e548f1a579cf529320a3c1d8789399e5fea0bfaa04cbb70d03890afafb748a2f Dumping local parent Traceback (most recent call last): File "/usr/local/bin/syncregistry", line 239, in <module> main() File "/usr/local/bin/syncregistry", line 86, in main _, output = execute("docker save -o %s %s"%(file_name, common_parent)) File "/usr/local/bin/syncregistry", line 202, in execute p = subprocess.Popen(parts, stdout=subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I had to do some few changes to make the script more 2.7 friendly 👍
https://github.com/LinuxArchitects/docker-sync/blob/master/docker-sync
The text was updated successfully, but these errors were encountered: