Похожие чаты

I am trying to create a custom ubuntu iso with

some applications pre installed like docker, postgres etc.

The challenge I am facing is there are some docker images for .tar that I wanna load but I can't do that since docker isn't running on the chroot environment.

I was researching and I came across something called preseed script where I can apparently customize the installer and set default values

My doubt is for the docker images to load I need to have the docker daemon running, would making changes to the preseed actually work? I don't think the docker daemon would be running when the preseed script would run

26 ответов

20 просмотров

the Preseed sets values that would be asked in the setup. The livesystem is unaffected.

Walter- Автор вопроса
Sebastian
the Preseed sets values that would be asked in the...

How would I go about loading the docker images in boot? I could create a service but then it would run on boot every time.

Walter
How would I go about loading the docker images in ...

The livesystem is usually a tmpfs with the content of the squashfs/erofs. You also could install docker in the lifesystem.

Walter- Автор вопроса
Sebastian
The livesystem is usually a tmpfs with the content...

I installed the docker in the live system while in the chroot environment. I am facing the issue that I can't load the docker images from the tar file, since docker daemon could not run in the chroot

Walter
I installed the docker in the live system while in...

Can't you start the docker daemon within the chroot and then import images? I already did something like this iirc

Walter- Автор вопроса
Benoist
Can't you start the docker daemon within the chroo...

I can't start the docker daemon within the chroot env Something related to NAT error permission. Will post the exact error next time when I boot

Walter
I can't start the docker daemon within the chroot ...

In the meantime I found the script I used, I started the docker daemon with dockerd --iptables=false & maybe because of the same NAT thing, I don't remember

What you might actually want is a configuration management tool like Ansible that will set up an existing base install for you

Martin Rys
What you might actually want is a configuration ma...

It is a little bit off the topic but do you have any recommendations how to speed up the install process using ansible? I manage over 100 computers and when doing fresh installs (ubuntu cloud-init) with ansible it takes ton of time to download all the packages, install them etc.

klimi
It is a little bit off the topic but do you have a...

Faster internet helps with download, faster IO with install times

klimi
It is a little bit off the topic but do you have a...

Also you can use mitogen to speed it up a bit

Walter- Автор вопроса
Martin Rys
Faster internet helps with download, faster IO wit...

The thing is i can't pull more than 3 gigs because the router will be overloaded... but i think this is the main problem, the installing packages, next steps are quick

Martin Rys
Replace router xD

that's on the agenda for many years now... yeah...

Walter- Автор вопроса
Martin Rys
What you might actually want is a configuration ma...

I had no idea, will look into this, thanks. The thing is I need to load some custom docker container which runs the backend of an application that is installed in the image so was going for this route

Walter
I had no idea, will look into this, thanks. The th...

Why don't you put the front end in docker too?

Walter- Автор вопроса
Martin Rys
Why don't you put the front end in docker too?

I can do that but either way I need to load docker container either after Ubuntu is installed and loaded or pre load the docker conatiners while creating the ISO. Can't decide which one would be better

Benoist
Also you can use mitogen to speed it up a bit

this looks very interesting for our routine runs, thanks!

klimi
this looks very interesting for our routine runs, ...

Iirc it usually doesn't support latest versions and has some other tradeoff

Martin Rys
Start downloading 3 gigs often :)

well they limit my rooms to 500mbits when i am reinstalling :/

Walter- Автор вопроса
Martin Rys
The former, Ansible has a Docker module.

Thanks Would you provide some insights or resources as to why you prefer the former to later?

Walter
Thanks Would you provide some insights or resourc...

Your setup will be out of date the moment you create it, you won't know how you created it (unless you do an automated setup with autorefesh)

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта