Comments (4)
Hi,
A number of folks have used this role as is on a pi3. What limitations are there with Ubuntu 20.04 on it? What about using Debian?
from ansible-docker.
I'm complicating my setup by netbooting with an iSCSI root, which I have not gotten to work in 20.04, but have with 20.10.
Regardless of that, I'm also a bit biased towards docker.io
for reasons stated in this stackoverflow thread that say it far better than I can.
I'm happy to attempt a pull request on this, but I didn't want to put in the effort if it wasn't something you wanted to support.
from ansible-docker.
Docker still officially recommends installing Docker with docker-ce
so I think it's best to stick with that standard by default.
You can also choose to only install the CLI with docker-ce-cli
too, which I don't think is an option with docker.io
. This role supports CLI only installations by setting ce-cli
as the docker__edition
.
I'm kind of reluctant to support 20.10 (or more generally non-LTS releases) because I have no experience using them, and I haven't had anyone ever request support for it. Most folks who use Ubuntu in production stick with LTS. There's also sometimes subtle differences with non-LTS releases that may require other changes in the future. That and Docker doesn't officially support installing itself on Ubuntu 20.10.
But with that said, I'm not opposed to supporting which package gets installed, such as docker__package
and then you are free to choose docker-ce, docker-ce-cli, docker-ee, or docker.io but that's not a straight forward change because:
- It's a very backwards incompatible change that will break everyone's configuration if they customized
docker__edition
- It would mean explicitly hard coding things like "if docker__package == docker.io then skip pulling in Docker's apt repos"
- If someone wanted to use
docker-ce
on 20.10, it's not going to work by default because I dynamically pull in the distro name when setting Docker's apt repo, but since Docker doesn't support "groovy" you'd have to go in and configuredocker__apt_key_url
anddocker__apt_repository
to hard code focal (technically supported but kind of hacky)
I wouldn't open a PR just yet because this would need careful planning and quite a bit of documentation to implement properly.
In the mean time you could fork this role and then make these 2 changes:
Hard code docker.io
as the package name here:
Line 54 in 5fbac1a
Delete these lines:
Lines 22 to 30 in 5fbac1a
from ansible-docker.
I'm going to close this as it hasn't been brought up again for a few years. If it comes up again we can deal with it.
from ansible-docker.
Related Issues (20)
- Failed : Install Docker's dependencies HOT 9
- Package dependency error for Docker installation on clean Ubuntu 18.04 HOT 11
- Ubuntu 20.04 ImportError: No module named pkg_resources HOT 10
- Avoid docker login issue with X11 HOT 11
- Expected behavior for DockerHub private repositories login options? HOT 19
- Failed to import the required Python library HOT 10
- Update apt cache before installing packages HOT 1
- Add way to add additional packages to install HOT 3
- Versioning pinning not working HOT 5
- Install Python packages: Could not get output from /usr/local/bin/virtualenv --help HOT 16
- Hi; Please consider suppressing credentials output in: Manage Docker registry login credentials HOT 8
- Upgrade edge case HOT 9
- I'm thinking about no longer setting up a virtualenv, pip installing docker / docker compose and switching the docker_login module to a shell script HOT 2
- docker not installed into /usr/local/bin HOT 4
- Unable to find pip in the virtualenv HOT 8
- Error in new v2.2.0 version when using ansible 2.9.14 HOT 3
- Docker Compose V1 causes the Install Python packages step to crash HOT 3
- Error with pip on basic usage HOT 2
- Task exception at: Install Python packages HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-docker.