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
Supporting x86 (32bit) hosts #1090
Comments
The only other binary requirement for running dokku that I can think of right now is |
@patrickjahns we currently don't support 32-bit installs, but if you'd like to do the work to make dokku installable there, I'd be happy to pull that in :) I personally won't be working towards that goal as we'll be moving to dokku in docker in the near future, which should solve this. Closing as there isn't anything actionable. |
@josegonzalez - thank you for the information. I am trying to make it work and document the steps in here for others. I am not sure how I would be able to provide patches (yet?). What is a recommended approach in this case? Just for quick documentation steps i
Docker is working so far As for Dokku - I had to alter the Makefile:
The dokku installation works - but when pushing a project I run into the error
The error probably relates to having a 64bit container (progrium/buildstep) in a 32bit OS. So my next step would be, to create a custom "progrium/buildstep" container for 32bit Will post more results when I succeed |
TL;DR;
So I followed the following steps to create a 32bit progrium/buildstep container
From then one the container is working. While it is possible to get dokku running on x86 with the proper container - it will be a lot of effort to maintain a 32bit version. You will need to re-build all containers, buildpacks and plugins against a 32bit container. |
Poop. We can probably maintain separate buildpack/pluginhook/sshcommand debs for 32bit, but the buildpack thing is a separate issue, so I think this isn't worth the effort, and we'd be better suited to pushing users towards 64-bit hosts. What host are you running that you can't use 64-bit dokku? |
I am running it on my lowpower box at home , which is an old netbook with the first gen atom cpus and has no 64bit instructions :( Creating dokku and the dockerimage can be streamlined into a vagrant box I guess. So I guess you are right for pushing people towards 64bit hosts - I don`t know of any cloud provider that does not support 64bit hosts so for the general public its no issue. If I come up with another idea - i`ll post. |
If you'd like to change the deb.mk to produce both 64 and 32-bit packages, we'd pull that in :) |
I will have a look at it - I am mostly worried that we then need to also create 32-bit images for pluginhook, sshcommand and buildstep. Biggest concern here is, how to do it for buildstep, since we need to base it of a 32bit debootstrap as mentioned above. Suggestions for best-practices here? |
Build it inside a docker container running 32-bit ubuntu? shrug |
Just a small update, I am working on the base of the building chain. I am looking for people who want to support creating 32bit buildpacks to be used with dokku - so far I have created a 32bit python buildpack fork here: Creating 32bit buildpacks from existing heroku buildpacks is fairly straight forward - any precompiled files need to be recompiled against a 32bit chedarish container. Any precompiled binary packages to be fetched need to be recompiled against 32bit guest system and the downloading scripts in the buildpacks need to be updated. From there on it just works. Since I mainly work with python applications I am not yet planing to release other buildpacks. Except if there is demand or people willing to work on it. Any ideas/suggestions/recommendations are very welcome |
Hi,
#196 already addressed this some time ago, it was mentioned that it depends on docker. I`ve been recently playing around with docker on my private server that only supports 32bit. I have successfully build several 32bit containers on it and run them.
Are there any other requirements for dokku to run on 32 bit hosts?
FYI docker & 32bit:
https://github.com/docker-32bit
https://registry.hub.docker.com/repos/32bit/
The text was updated successfully, but these errors were encountered: