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

How to copy the docker images to IBM zCX server from USS using z/OSMF? #37

Open
MacNale opened this issue May 15, 2020 · 4 comments
Open

Comments

@MacNale
Copy link

MacNale commented May 15, 2020

I am trying to build z/OSMF workflow to copy my application docker images from USS into zCX server. There are two approaches -

  • Push docker image to zCX Private/Public docker Registry.
  • Copy the docker tar to ZCX and load into docker repository using docker load command

I have neither zCX Docker Registry nor a linux system. My docker images are available in tar format on USS.
Is there any way to get my docker images in zCX?
Is there any z/OSMF built-in step to perform this activity?

I read the documentation - http://www.redbooks.ibm.com/redbooks/pdfs/sg248457.pdf. It is not so clear to get started.

Edit 3rd Jun 2020 : Removed 'There is no SFTP available in zCX.'
I have a zCX running now. I will test the SFTP from USS to zCX to transfer files in binary format as well properties files as ascii format.

Having a workflow for a sample hello word, would help immensely. This will act as best practices.

@shreeji818
Copy link
Contributor

z/OSMF does no provide any built-in step to perform such activity. Please refer to this video to see if you can ssh into zCX and deploy container.
https://www.youtube.com/watch?v=9aYFzhvJVbE

@MacNale
Copy link
Author

MacNale commented May 27, 2020

I think, it would be easier to get started with zCX if we zoSMF makes the deployment super easy.

@jbostian
Copy link

jbostian commented Jun 2, 2020

I'm curious about the comment about zCX not supporting sftp. You can run sftp from a zCX appliance, or sftp to an appliance from another platform. The Redbook gives an example of sftp use in chapter 8 around page 202. You just have to be sure to use port 8022 on the sftp command invocation.

Docker save/load of an image to/from a tar file with a file transfer via sftp into an appliance is a viable means to populate your appliance with container images. I can't speak to the feasibility of creating a workflow to automate this, but the necessary Docker and file transfer capabilities exist today.

@MacNale
Copy link
Author

MacNale commented Jun 3, 2020

@jbostian - Thank you for pointing out. I will test how SFTP will help in transferring files from USS to zCX in binary and ascii format.

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

3 participants