English
« Back to projectatomic.io
Ask Your Question
0

how to take out f21-atomic.qcow file out of cantainer ????

asked 2015-06-01 11:01:47 +0000

sujit gravatar image

Might be, I am asking funny question ... but ..... Question is, I have created my own atomic os on my fedora 21. Now i am in container. I can see f21-atomic.vdi and f21-atomic.qcow files, that are generated by me. But how to take this file out of container ??

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-11 02:15:26 +0000

jasonbrooks gravatar image

From the images directory inside your container, you can run python -m SimpleHTTPServer 8000 and then out at your host you can curl -O http://$YOURCONTAINERIP/THEIMAGE.qcow2.

edit flag offensive delete link more
0

answered 2015-06-08 13:38:36 +0000

It depends on how you built the container but you could exec a bash shell in the running container to see if you have scp to copy it out or to push it into the http tree and pull it that way.

To get a shell in a running container (and not kill the container when you exit:

sudo docker exec -it <containerIdOrName> bash
edit flag offensive delete link more
0

answered 2015-06-01 11:03:38 +0000

sujit gravatar image

by taking out .qcow file, I want run this file on virt-manager..

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-06-01 11:01:47 +0000

Seen: 203 times

Last updated: Jun 11 '15