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

Is there any limit for the archive tar.gz distro? #37

Closed
Trophime opened this issue Mar 26, 2018 · 10 comments
Closed

Is there any limit for the archive tar.gz distro? #37

Trophime opened this issue Mar 26, 2018 · 10 comments

Comments

@Trophime
Copy link

Trophime commented Mar 26, 2018

Hi,
I'm trying to create a LXC container from my docker image.
I'm getting some errors. The archive is not completely unzipped and untarred.
It seems that the archive tar.gz file is big more than 1.8 G.

Is there any limit for the archive tar.gz distro?
Best

@DDoSolitary
Copy link
Owner

@Trophime Please post the error messages, thanks.

@DDoSolitary
Copy link
Owner

Closing as no response.

@Trophime
Copy link
Author

Trophime commented Apr 6, 2018

Sorry for not answering earlier, here are the steps to reproduce the problem:
On a Linux Debian/Testing:

docker export $(docker create trophime/salome-8.4.0:nvidia) --ouptu="salome.tar"
gzip salome.tar

Then I copy the gzipped tarball on my Windows 10:

LXRunOffline.exe install -n Salome \
   -f C:/path/to/salome.tar.gz \
   -d C:\directory\you\want\to\keep\salome

and then I got an error see attached file.
salome.log

@Trophime
Copy link
Author

Trophime commented Apr 6, 2018

One more note: in the gzipped tarball

ar ztvf salome-8.4.0-nvidia.tar.gz | grep "opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT"
drwxr-xr-x 71289/70017       0 2018-02-26 19:47 opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT/
-rw-r--r-- 71289/70017     242 2018-02-26 19:08 opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT/__init__.py
drwxr-xr-x 71289/70017       0 2018-02-26 19:47 opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT__POA/
-rw-r--r-- 71289/70017     252 2018-02-26 19:08 opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT__POA/__init__.py
-rw-r--r-- 71289/70017    4062 2018-03-19 13:27 opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT_idl.py
lrwxrwxrwx 0/0                 0 2018-03-19 13:26 opt/salome/appli_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT -> /opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT
lrwxrwxrwx 0/0                 0 2018-03-19 13:26 opt/salome/appli_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT__POA -> /opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT__POA
lrwxrwxrwx 0/0                 0 2018-03-19 13:26 opt/salome/appli_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT_idl.py -> /opt/salome/Salome-V8_4_0-univ/modules/ADAO_V8_4_0/lib/python2.7/site-packages/salome/ADAO_COMPONENT_idl.py

@Trophime
Copy link
Author

Trophime commented Apr 6, 2018

@DDoSolitary seems like the error message concerns a soft link...
Could you please tell me what is the best way to "transform" a docker image into a Lxc image for WSL?

@DDoSolitary DDoSolitary reopened this Apr 6, 2018
@DDoSolitary
Copy link
Owner

I don't think this error was caused by the symlink because it is the link target rahter than the link itself that could't be created.

@DDoSolitary
Copy link
Owner

Could you please tell me what is the best way to "transform" a docker image into a Lxc image for WSL?

If you mean the file produced by docker save, you can extract the file and there should be a layer.tar file which can be used by LxRunOffline.

@Trophime
Copy link
Author

Trophime commented Apr 6, 2018

no need to compress it one way or the other?
What is exactly the difference between docker export and docker save?

@DDoSolitary
Copy link
Owner

DDoSolitary commented Apr 6, 2018

no need to compress it one way or the other?

Yes, it is directly supported by this project.

What is exactly the difference between docker export and docker save ?

I'm not very familiar with Docker, but I believe that you can easily find the answer on Google.

@DDoSolitary
Copy link
Owner

Fixed in v3.
#36

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

No branches or pull requests

2 participants