-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docker-in-docker] - method 2 - daemon.json creation - #1023 #1101
[docker-in-docker] - method 2 - daemon.json creation - #1023 #1101
Conversation
src/docker-in-docker/install.sh
Outdated
@@ -20,6 +20,7 @@ INSTALL_DOCKER_COMPOSE_SWITCH="${INSTALLDOCKERCOMPOSESWITCH:-"true"}" | |||
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc" | |||
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="bookworm buster bullseye bionic focal jammy noble" | |||
DOCKER_LICENSED_ARCHIVE_VERSION_CODENAMES="bookworm buster bullseye bionic focal hirsute impish jammy noble" | |||
IP6_TABLES="${IP6TABLES:-""}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we look into fixing test failures?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when I test for ip6tables -L
command inside built container, getting the following output:
root@a139636130dc:/# ip6tables -L
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
src/docker-in-docker/install.sh
Outdated
# Create the daemon.json file with the provided value | ||
cat <<JSON_EOF > /etc/docker/daemon.json | ||
{ | ||
"ip6tables": $DEFAULT_IP6_TABLES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of this, have you tried using --ip6tables=<value>
same like DEFAULT_ADDRESS_POOL ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls check for the above mentioned method as a solution here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we have #1068 open, why do we need this PR which attempts to do the same thing?
This reverts commit db672f2.
…emon_creation_#1023' into docker-in-docker_daemon_creation_#1023
…s for lts installation (devcontainers#1021) * [Java] - features issue devcontainers#1101 - installs -tem instead -ms for lts installation * misc change * misc change, by mistake needs correction * leave a line change * remove spaces * bump patch version.. * changes for pr reviewed * changes * Update src/java/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> * [java] - corrected lts version finding logic in install.sh * small change * changes as requested.. * changes as requested * changes as suggested - centos-7, mirrorlist no longer exists - changed to vault * corrected condition for specific version installations.. * misc change * corrected condition * small change * corrections * change * changes in test cases - removing /tmp before test specific test runs.. * few changes to test cases again.. * small change * addition of --overwrite option to gradle init command * changes as suggested on pr comments * misc. change for correcting logic --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
#1068 is an alternate method as a solution for the same issue. |
Feature Name
Description
/etc/docker/daemon.json
file before starting the docker daemonchangelog
/etc/docker/daemon.json
file before starting the docker daemon