search for: testcontainer

Displaying 6 results from an estimated 6 matches for "testcontainer".

2014 Jan 30
2
Notes on building libguestfs in a systemd-nspawn container
...dit=0' on Kernel command line. (NOTE: There's work in progress[2] in upstream Kernel to fix this.) Create container ---------------- On the host, specify an installroot (/srv) and install a minimal Fedora 20 distribution: $ yum -y --releasever=20 --nogpg \ --installroot=/srv/testcontainer \ --disablerepo='*' --enablerepo=fedora \ install systemd passwd yum \ fedora-release vim-minimal Boot into the container, set a password: $ systemd-nspawn -D /srv/testcontainer [. . .] -bash-4.2# passwd Start the container w/ systemd: $ systemd-n...
2017 Jun 25
2
Persistent storage for docker containers from a Gluster volume
...st method would be to mount my GlusterFS volume for that purpose on all docker nodes using FUSE and then simply start containers which require persistent storage with a mount of bind type. For example here is how I would create my container requiring persistent storage: docker service create --name testcontainer --mount type=bind,source=/mnt/gustervol/testcontainer,target=/mnt alpine What do you think about that? Is this a good way? or is the even a better way? Regards, M. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/a...
2017 Jun 28
0
Persistent storage for docker containers from a Gluster volume
...thod would be to mount my GlusterFS volume for that purpose on all docker nodes using FUSE and then simply start containers which require persistent storage with a mount of bind type. For example here is how I would create my container requiring persistent storage: > docker service create --name testcontainer --mount type=bind,source=/mnt/gustervol/testcontainer,target=/mnt alpine > What do you think about that? Is this a good way? or is the even a better way? > > Regards, > M. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/piperm...
2014 Jan 30
0
Re: Notes on building libguestfs in a systemd-nspawn container
...9;s work in progress[2] in upstream Kernel to fix this.) > > > Create container > ---------------- > > On the host, specify an installroot (/srv) and install a minimal Fedora > 20 distribution: > > $ yum -y --releasever=20 --nogpg \ > --installroot=/srv/testcontainer \ > --disablerepo='*' --enablerepo=fedora \ > install systemd passwd yum \ > fedora-release vim-minimal > > Boot into the container, set a password: > > $ systemd-nspawn -D /srv/testcontainer > [. . .] > -bash-4.2# passwd >...
2017 Jun 29
2
Persistent storage for docker containers from a Gluster volume
...t method would be to mount my GlusterFS volume for that purpose on all docker nodes using FUSE and then simply start containers which require persistent storage with a mount of bind type. For example here is how I would create my container requiring persistent storage: docker service create --name testcontainer --mount type=bind,source=/mnt/ gustervol/testcontainer,target=/mnt alpine What do you think about that? Is this a good way? or is the even a better way? If you are using kubernetes, then please have a look at https://github.com/gluster/gluster-kubernetes Otherwise, what you are suggesting w...
2017 Jun 29
0
Persistent storage for docker containers from a Gluster volume
...ose on all docker nodes using FUSE >> and then simply start containers which require persistent storage >> with a mount of bind type. For example here is how I would create >> my container requiring persistent storage: >> >> docker service create --name testcontainer --mount >> type=bind,source=/mnt/gustervol/testcontainer,target=/mnt alpine >> >> >> >> What do you think about that? Is this a good way? or is the even >> a better way? > > > > If you are using kubernetes, then please have a look at >...