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

[Question] Moby linux stable sources #719

Closed
ltagliamonte opened this issue Sep 28, 2016 · 9 comments
Closed

[Question] Moby linux stable sources #719

ltagliamonte opened this issue Sep 28, 2016 · 9 comments

Comments

@ltagliamonte
Copy link

This is a follow up from my previous question #715
The archive in the link suggested before it is linked to the docker for-mac beta channel, atm the archive contains a config for kernel 4.4.22 instead the stable channel is using 4.4.20.
Is there any other pointer to the stable sources or a versioned repo?

@justincormack
Copy link
Member

justincormack commented Oct 10, 2016

The kernel config is available via docker run --privileged alpine zcat /proc/config.gz and the details of the source info and applied patches can be extracted as a tarball with docker run -v /etc:/hostetc -w /hostetc alpine tar cf - kernel-source-info kernel-patches > kernel.tar.

The kernel-source-info file looks like

KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.22.tar.xz
AUFS_REPO=https://github.com/sfjro/aufs4-standalone
AUFS_BRANCH=aufs4.4
AUFS_COMMIT=7d174ae40b4c9c876ee51aa50fa4ee1f3747de23
AUFS_TOOLS_REPO=https://github.com/Distrotech/aufs-util.git
AUFS_TOOLS_COMMIT=b5e7e204036da5e815ddec15a847a03c232771b4

and the patches directory contains all the other patches we apply (mainly hvsock and vsock at present).

@samoht
Copy link
Contributor

samoht commented Jan 31, 2017

I am closing this issue as @justincormack replied to the question :-)

@samoht samoht closed this as completed Jan 31, 2017
@luca3m
Copy link

luca3m commented Apr 10, 2017

@justincormack I saw that the instructions above do not work with docker4aws because kernel-patches are not present. Any reasons why?

@justincormack
Copy link
Member

@luca3m no, sounds like they were accidentally removed. They are the same set of patches as d4m, and the kernel sources are available in branches here eg https://github.com/rneugeba/linux-stable/tree/v4.9.21-moby (the only difference is the cloud versions do not have the aufs patches, so that is the complete patch set).

@luca3m
Copy link

luca3m commented Apr 10, 2017

Thanks @justincormack for the quick response! We'd like to precompile sysdig kernel module for any version of docker4* product. Can I assume we can rely on that repository for now?

@justincormack
Copy link
Member

cool, yes, that should be fine. Are you in the Docker Community Slack? https://community.docker.com/registrations/groups/4316 - can help you out with any issues there too, might be easier...

@luca3m
Copy link

luca3m commented Apr 10, 2017

I've registered few hours ago, but I still not have access to Slack Channel. I'll ping you there, thanks!

@justincormack
Copy link
Member

if you send me your email address you signed up with can accelerate it (twitter or email me)

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants