Похожие чаты

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 ответов

12 просмотров

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)

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

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

30500 за редактор? )
Владимир
47
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
8
Anyone else having this error when trying to make transactions?
Datzel
11
Question: How viable is it to use Anvil as the backend infrastructure for managing a TradFi portfolio, while integrating Flexa for instant liquidity and payment solutions? Cou...
Kevin
2
вы делали что-то подобное и как? может есть либы готовые? увидел картинку нокода, где всё линиями соединено и стало интересно попробовать то же в ddl на lua сделать. решил с ч...
Victor
8
Карта сайта