Skip to content

Commit 7fc2ea1

Browse files
authored
Merge pull request #34 from flashbots/ilya/podman-init
Enable --init for podman container
2 parents 36ea2a5 + f306e1a commit 7fc2ea1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bob-common/mkosi.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PostInstallationScripts=bob-common/mkosi.postinst
77
BuildScripts=bob-common/mkosi.build
88

99
Packages=podman
10+
catatonit
1011
runc
1112
dropbear
1213
socat

bob-common/mkosi.extra/usr/bin/init-container.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ SEARCHER_INPUT_CHANNEL=27017
1212
echo "Starting $NAME..."
1313
su -s /bin/sh searcher -c "cd ~ && podman run -d \
1414
--name $NAME --replace \
15+
--init \
1516
-p ${SEARCHER_SSH_PORT}:22 \
1617
-p ${ENGINE_API_PORT}:${ENGINE_API_PORT} \
1718
-p ${EL_P2P_PORT}:${EL_P2P_PORT} \

0 commit comments

Comments
 (0)