Skip to content
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

sodalite.nodes.DockerHost installs wrong docker version on centos #10

Open
mihaTrajbaric opened this issue Mar 24, 2021 · 0 comments
Open
Labels
bug Something isn't working question Further information is requested

Comments

@mihaTrajbaric
Copy link
Collaborator

This line was supposed to ensure centos7 gets docker version 19x.

I don't know why, but several centos7 deployments got docker 20x:

[centos@iac-blueprint-builder ~]$ docker --version
Docker version 20.10.5, build 55c4c88
[centos@pds ~]$ docker --version
Docker version 20.10.5, build 55c4c88
[centos@image-builder ~]$ docker --version
Docker version 20.10.5, build 55c4c88

The issue with this version was that it configured iptables in a way that did not allow wget calls from inside container.

Since pinning older docker version doesn't work anyway, maybe we should implement configuration of iptables?

Resources:
https://medium.com/@yudapramad/cannot-access-internet-inside-docker-container-a62fa3ed7860
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/iptables_module.html

@mihaTrajbaric mihaTrajbaric added bug Something isn't working question Further information is requested labels Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant