Discussion:
[ale] Docker containers as a desktop environment
Jim Kinney via Ale
2018-04-05 00:21:05 UTC
Permalink
Yeah. Subject line is my new thinking. Probably time for my meds (12oz, pint, or bomber of something I can see through all seem to be effective).

What would it take to have a micro box (fedora atomic or similar bootable os that runs containers only) with containers that pull applications into availability and a container that handles storage to a cloud space? Could X/wayland even function in a container.

Pontificate and speculate!
--
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.
Pete Hardie via Ale
2018-04-05 00:26:05 UTC
Permalink
Isn't it fairly common to run a VM as desktop


On Wed, Apr 4, 2018 at 8:21 PM, Jim Kinney via Ale <***@ale.org> wrote:

> Yeah. Subject line is my new thinking. Probably time for my meds (12oz,
> pint, or bomber of something I can see through all seem to be effective).
>
> What would it take to have a micro box (fedora atomic or similar bootable
> os that runs containers only) with containers that pull applications into
> availability and a container that handles storage to a cloud space? Could
> X/wayland even function in a container.
>
> Pontificate and speculate!
> --
> Sent from my Android device with K-9 Mail. All tyopes are thumb related
> and reflect authenticity.
> _______________________________________________
> Ale mailing list
> ***@ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


--
Pete Hardie
--------
Better Living Through Bitmaps
dev null zero two via Ale
2018-04-05 00:27:39 UTC
Permalink
this has been done

https://blog.jessfraz.com/post/docker-containers-on-the-desktop/

On Wed, Apr 4, 2018 at 8:26 PM, Pete Hardie via Ale <***@ale.org> wrote:

> Isn't it fairly common to run a VM as desktop
>
>
> On Wed, Apr 4, 2018 at 8:21 PM, Jim Kinney via Ale <***@ale.org> wrote:
>
>> Yeah. Subject line is my new thinking. Probably time for my meds (12oz,
>> pint, or bomber of something I can see through all seem to be effective).
>>
>> What would it take to have a micro box (fedora atomic or similar bootable
>> os that runs containers only) with containers that pull applications into
>> availability and a container that handles storage to a cloud space? Could
>> X/wayland even function in a container.
>>
>> Pontificate and speculate!
>> --
>> Sent from my Android device with K-9 Mail. All tyopes are thumb related
>> and reflect authenticity.
>> _______________________________________________
>> Ale mailing list
>> ***@ale.org
>> https://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
>
>
> --
> Pete Hardie
> --------
> Better Living Through Bitmaps
>
> _______________________________________________
> Ale mailing list
> ***@ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
Jim Kinney via Ale
2018-04-05 01:57:07 UTC
Permalink
Freakin' awesome!!!! That's exactly what I'm looking for!

On April 4, 2018 8:27:39 PM EDT, dev null zero two via Ale <***@ale.org> wrote:
>this has been done
>
>https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
>
>On Wed, Apr 4, 2018 at 8:26 PM, Pete Hardie via Ale <***@ale.org>
>wrote:
>
>> Isn't it fairly common to run a VM as desktop
>>
>>
>> On Wed, Apr 4, 2018 at 8:21 PM, Jim Kinney via Ale <***@ale.org>
>wrote:
>>
>>> Yeah. Subject line is my new thinking. Probably time for my meds
>(12oz,
>>> pint, or bomber of something I can see through all seem to be
>effective).
>>>
>>> What would it take to have a micro box (fedora atomic or similar
>bootable
>>> os that runs containers only) with containers that pull applications
>into
>>> availability and a container that handles storage to a cloud space?
>Could
>>> X/wayland even function in a container.
>>>
>>> Pontificate and speculate!
>>> --
>>> Sent from my Android device with K-9 Mail. All tyopes are thumb
>related
>>> and reflect authenticity.
>>> _______________________________________________
>>> Ale mailing list
>>> ***@ale.org
>>> https://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>>>
>>>
>>
>>
>> --
>> Pete Hardie
>> --------
>> Better Living Through Bitmaps
>>
>> _______________________________________________
>> Ale mailing list
>> ***@ale.org
>> https://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>

--
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.
Steve Litt via Ale
2018-04-06 01:56:47 UTC
Permalink
On Wed, 4 Apr 2018 20:27:39 -0400
dev null zero two via Ale <***@ale.org> wrote:

> this has been done
>
> https://blog.jessfraz.com/post/docker-containers-on-the-desktop/

The preceding info was the first argument that ever got me personally
interested in containers. I looooove leaving Pulseaudio and Skype in
their own little room together, away from the more well behaved.

SteveT

Steve Litt
April 2018 featured book: Troubleshooting Techniques
of the Successful Technologist
http://www.troubleshooters.com/techniques
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Alex Carver via Ale
2018-04-07 19:32:03 UTC
Permalink
One thing I haven't been able to find is how to create a docker
container in the first place from scratch. Every tutorial has you
downloading someone's container from somewhere.

If I wanted to experiment with running let's say a browser within a
container on any OS, where can you go to find out how to build all of
that? At the moment I just spin up VM's but if containers really are a
little lighter on the system than a full VM, I wouldn't mind trying it
out just for browsers.

It seems to me, though, there's a slight inflexibility in the docker
method versus VM method in terms of updating and/or modifications. For
example, if I create a brand new VM, install a bare OS and then install
the browser, I can possibly go back in later and add something I forgot
(e.g. Java, flash, etc.) just by using the guest OS's install methods.
The new data is merged in right away and the next time I start that VM
those changes are made. My understanding with the Docker method is that
everything has to be installed either in the original image or on the
fly by the docker container script as the image starts but, again, this
is relying on someone else's docker-ready stuff.

If anyone has pointers on this kind of thing I'd like to see them and
try it out.
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Alex Carver via Ale
2018-04-08 20:04:48 UTC
Permalink
Yes but not what I'm asking. You're still pulling from a public
repository. I'm talking about making a container totally from scratch,
no public repositories.

On 2018-04-08 12:13, tosh noway wrote:
> https://docs.docker.com/engine/reference/builder/
>
> FROM alpine:lastest
> RUN echo “hello from docker”
>
> On Sat, Apr 7, 2018 at 3:32 PM Alex Carver via Ale <***@ale.org> wrote:
>
>> One thing I haven't been able to find is how to create a docker
>> container in the first place from scratch. Every tutorial has you
>> downloading someone's container from somewhere.
>>
>> If I wanted to experiment with running let's say a browser within a
>> container on any OS, where can you go to find out how to build all of
>> that? At the moment I just spin up VM's but if containers really are a
>> little lighter on the system than a full VM, I wouldn't mind trying it
>> out just for browsers.
>>
>> It seems to me, though, there's a slight inflexibility in the docker
>> method versus VM method in terms of updating and/or modifications. For
>> example, if I create a brand new VM, install a bare OS and then install
>> the browser, I can possibly go back in later and add something I forgot
>> (e.g. Java, flash, etc.) just by using the guest OS's install methods.
>> The new data is merged in right away and the next time I start that VM
>> those changes are made. My understanding with the Docker method is that
>> everything has to be installed either in the original image or on the
>> fly by the docker container script as the image starts but, again, this
>> is relying on someone else's docker-ready stuff.
>>
>> If anyone has pointers on this kind of thing I'd like to see them and
>> try it out.
>> _______________________________________________
>> Ale mailing list
>> ***@ale.org
>> https://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>

_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail
Alex Carver via Ale
2018-04-08 20:08:31 UTC
Permalink
Right, I want to start from the base up and not rely on a public
repository. That was the overall part of the question. With a VM, you
spin up the VM and install your own OS inside it however you see fit
then install the software inside that OS however you see fit. All the
Docker examples I find pull from public repositories but don't describe
standing something up from scratch.

On 2018-04-08 13:05, tosh noway wrote:
> You want to build your own OS ?
>
> On Sun, Apr 8, 2018 at 4:05 PM Alex Carver <agcarver+***@acarver.net> wrote:
>
>> Yes but not what I'm asking. You're still pulling from a public
>> repository. I'm talking about making a container totally from scratch,
>> no public repositories.
>>
>> On 2018-04-08 12:13, tosh noway wrote:
>>> https://docs.docker.com/engine/reference/builder/
>>>
>>> FROM alpine:lastest
>>> RUN echo “hello from docker”
>>>
>>> On Sat, Apr 7, 2018 at 3:32 PM Alex Carver via Ale <***@ale.org> wrote:
>>>
>>>> One thing I haven't been able to find is how to create a docker
>>>> container in the first place from scratch. Every tutorial has you
>>>> downloading someone's container from somewhere.
>>>>
>>>> If I wanted to experiment with running let's say a browser within a
>>>> container on any OS, where can you go to find out how to build all of
>>>> that? At the moment I just spin up VM's but if containers really are a
>>>> little lighter on the system than a full VM, I wouldn't mind trying it
>>>> out just for browsers.
>>>>
>>>> It seems to me, though, there's a slight inflexibility in the docker
>>>> method versus VM method in terms of updating and/or modifications. For
>>>> example, if I create a brand new VM, install a bare OS and then install
>>>> the browser, I can possibly go back in later and add something I forgot
>>>> (e.g. Java, flash, etc.) just by using the guest OS's install methods.
>>>> The new data is merged in right away and the next time I start that VM
>>>> those changes are made. My understanding with the Docker method is that
>>>> everything has to be installed either in the original image or on the
>>>> fly by the docker container script as the image starts but, again, this
>>>> is relying on someone else's docker-ready stuff.
>>>>
>>>> If anyone has pointers on this kind of thing I'd like to see them and
>>>> try it out.
>>>> _______________________________________________
>>>> Ale mailing list
>>>> ***@ale.org
>>>> https://mail.ale.org/mailman/listinfo/ale
>>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>>> http://mail.ale.org/mailman/listinfo
>>>>
>>>
>>
>>
>
Putnam, James M. via Ale
2018-04-08 20:31:53 UTC
Permalink
https://embano1.github.io/post/scratch/

starts with a zero length scratch image and builds upward. May not be
exactly what you want, but it gets you started.

--
James M. Putnam
Visiting Professor of Computer Science

The air was soft, the stars so fine,
the promise of every cobbled alley so great,
that I thought I was in a dream.
________________________________________
From: Ale [ale-***@ale.org] on behalf of Alex Carver via Ale [***@ale.org]
Sent: Sunday, April 8, 2018 4:04 PM
To: tosh noway; Atlanta Linux Enthusiasts
Subject: Re: [ale] Docker containers as a desktop environment

Yes but not what I'm asking. You're still pulling from a public
repository. I'm talking about making a container totally from scratch,
no public repositories.

On 2018-04-08 12:13, tosh noway wrote:
> https://docs.docker.com/engine/reference/builder/
>
> FROM alpine:lastest
> RUN echo “hello from docker”
>
> On Sat, Apr 7, 2018 at 3:32 PM Alex Carver via Ale <***@ale.org> wrote:
>
>> One thing I haven't been able to find is how to create a docker
>> container in the first place from scratch. Every tutorial has you
>> downloading someone's container from somewhere.
>>
>> If I wanted to experiment with running let's say a browser within a
>> container on any OS, where can you go to find out how to build all of
>> that? At the moment I just spin up VM's but if containers really are a
>> little lighter on the system than a full VM, I wouldn't mind trying it
>> out just for browsers.
>>
>> It seems to me, though, there's a slight inflexibility in the docker
>> method versus VM method in terms of updating and/or modifications. For
>> example, if I create a brand new VM, install a bare OS and then install
>> the browser, I can possibly go back in later and add something I forgot
>> (e.g. Java, flash, etc.) just by using the guest OS's install methods.
>> The new data is merged in right away and the next time I start that VM
>> those changes are made. My understanding with the Docker method is that
>> everything has to be installed either in the original image or on the
>> fly by the docker container script as the image starts but, again, this
>> is relying on someone else's docker-ready stuff.
>>
>> If anyone has pointers on this kind of thing I'd like to see them and
>> try it out.
>> _______________________________________________
>> Ale mailing list
>> ***@ale.org
>> https://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>

_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jim Kinney via Ale
2018-04-09 15:43:49 UTC
Permalink
https://docs.docker.com/develop/develop-images/baseimages/
You build from a dockerfile and add the line:
FROM scratch # this means nothing, blank
-OR-
create a full image from a currently running OS using tar (debian has a
tool for this)
The CentOS mkimage-yum.sh script very distro specific and also very
capable.
On Sun, 2018-04-08 at 13:04 -0700, Alex Carver via Ale wrote:
> Yes but not what I'm asking. You're still pulling from a public
> repository. I'm talking about making a container totally from
> scratch,
> no public repositories.
>
> On 2018-04-08 12:13, tosh noway wrote:
> > https://docs.docker.com/engine/reference/builder/
> >
> > FROM alpine:lastest
> > RUN echo “hello from docker”
> >
> > On Sat, Apr 7, 2018 at 3:32 PM Alex Carver via Ale <***@ale.org>
> > wrote:
> >
> > > One thing I haven't been able to find is how to create a docker
> > > container in the first place from scratch. Every tutorial has
> > > you
> > > downloading someone's container from somewhere.
> > >
> > > If I wanted to experiment with running let's say a browser within
> > > a
> > > container on any OS, where can you go to find out how to build
> > > all of
> > > that? At the moment I just spin up VM's but if containers really
> > > are a
> > > little lighter on the system than a full VM, I wouldn't mind
> > > trying it
> > > out just for browsers.
> > >
> > > It seems to me, though, there's a slight inflexibility in the
> > > docker
> > > method versus VM method in terms of updating and/or
> > > modifications. For
> > > example, if I create a brand new VM, install a bare OS and then
> > > install
> > > the browser, I can possibly go back in later and add something I
> > > forgot
> > > (e.g. Java, flash, etc.) just by using the guest OS's install
> > > methods.
> > > The new data is merged in right away and the next time I start
> > > that VM
> > > those changes are made. My understanding with the Docker method
> > > is that
> > > everything has to be installed either in the original image or on
> > > the
> > > fly by the docker container script as the image starts but,
> > > again, this
> > > is relying on someone else's docker-ready stuff.
> > >
> > > If anyone has pointers on this kind of thing I'd like to see them
> > > and
> > > try it out.
> > > _______________________________________________
> > > Ale mailing list
> > > ***@ale.org
> > > https://mail.ale.org/mailman/listinfo/ale
> > > See JOBS, ANNOUNCE and SCHOOLS lists at
> > > http://mail.ale.org/mailman/listinfo
> > >
>
> _______________________________________________
> Ale mailing list
> ***@ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://heretothereideas.blogspot.com/
Derek Carter via Ale
2018-04-09 19:44:25 UTC
Permalink
An example of using Buildah to build a container (from scratch):
https://www.projectatomic.io/blog/2018/03/building-buildah-container-image-for-kubernetes/

Docker images are just a tarball and metadata.
There are a few tools which create them.

The "Frazelle Method" is my name for the blog post by Jessie Frazelle
mentioned earlier:
https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Narahari 'n' Savitha via Ale
2018-04-09 14:45:00 UTC
Permalink
Bingo. I have been searching for this one too but no luck. I am willing
to live with from-a-given image approach but I need to be able to build my
own so I can know what goes in.

If anyone has any pointers it will greatly help.

On Sat, Apr 7, 2018 at 3:32 PM, Alex Carver via Ale <***@ale.org> wrote:

> One thing I haven't been able to find is how to create a docker
> container in the first place from scratch. Every tutorial has you
> downloading someone's container from somewhere.
>
> If I wanted to experiment with running let's say a browser within a
> container on any OS, where can you go to find out how to build all of
> that? At the moment I just spin up VM's but if containers really are a
> little lighter on the system than a full VM, I wouldn't mind trying it
> out just for browsers.
>
> It seems to me, though, there's a slight inflexibility in the docker
> method versus VM method in terms of updating and/or modifications. For
> example, if I create a brand new VM, install a bare OS and then install
> the browser, I can possibly go back in later and add something I forgot
> (e.g. Java, flash, etc.) just by using the guest OS's install methods.
> The new data is merged in right away and the next time I start that VM
> those changes are made. My understanding with the Docker method is that
> everything has to be installed either in the original image or on the
> fly by the docker container script as the image starts but, again, this
> is relying on someone else's docker-ready stuff.
>
> If anyone has pointers on this kind of thing I'd like to see them and
> try it out.
> _______________________________________________
> Ale mailing list
> ***@ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
DJ-Pfulio via Ale
2018-04-05 02:31:54 UTC
Permalink
If you need less than a container, perhaps firejail can work?
It should be in current repos.

I use it for browsers.

On 04/04/2018 08:21 PM, Jim Kinney via Ale wrote:
> Yeah. Subject line is my new thinking. Probably time for my meds (12oz,
> pint, or bomber of something I can see through all seem to be effective).
>
> What would it take to have a micro box (fedora atomic or similar
> bootable os that runs containers only) with containers that pull
> applications into availability and a container that handles storage to a
> cloud space? Could X/wayland even function in a container.
>
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Derek Carter via Ale
2018-04-05 02:51:15 UTC
Permalink
I'm running Fedora atomic workstation with a few apps installed via flatpak
and the rest done via the frazellie method.
Jim Kinney via Ale
2018-04-05 11:29:46 UTC
Permalink
Frazellie method?

On April 4, 2018 10:51:15 PM EDT, Derek Carter via Ale <***@ale.org> wrote:
>I'm running Fedora atomic workstation with a few apps installed via
>flatpak
>and the rest done via the frazellie method.

--
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.
Preston via Ale
2018-04-05 14:23:02 UTC
Permalink
Would this be something similar to RancherOS?
https://rancher.com/rancher-os/


On 4/4/2018 7:21 PM, Jim Kinney via Ale wrote:
<snipped>
> What would it take to have a micro box (fedora atomic or similar
> bootable os that runs containers only) with containers that pull
> applications into availability and a container that handles storage to a
> cloud space? Could X/wayland even function in a container.

Preston
--
Be who you are and say what you feel, because those who mind don’t
matter and those who matter don’t mind.
-Dr. Seuss
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Jim Kinney via Ale
2018-04-05 15:16:56 UTC
Permalink
I guess I should google things better :-)
Yep! That's another full example.
I've got to ramp up some container knowledge to catch up and get ahead
of an oncoming freight train of container projects. (ha! freight train
of containers. see what i did there :-)
On Thu, 2018-04-05 at 09:23 -0500, Preston via Ale wrote:
> Would this be something similar to RancherOS?
> https://rancher.com/rancher-os/
>
>
> On 4/4/2018 7:21 PM, Jim Kinney via Ale wrote:
> <snipped>
> > What would it take to have a micro box (fedora atomic or similar
> > bootable os that runs containers only) with containers that pull
> > applications into availability and a container that handles storage
> > to a
> > cloud space? Could X/wayland even function in a container.
>
> Preston
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://heretothereideas.blogspot.com/
Loading...