3d572f39f7
Update the instructions for setting up and running a local docker image with a gitbook instance of the Linux insides book. |
||
---|---|---|
Assets | ||
Booting | ||
Cgroups | ||
Concepts | ||
DataStructures | ||
Initialization | ||
Interrupts | ||
KernelStructures | ||
Misc | ||
MM | ||
Scripts | ||
SyncPrim | ||
SysCall | ||
Theory | ||
Timers | ||
.gitignore | ||
CONTRIBUTING.md | ||
contributors.md | ||
cover.jpg | ||
Dockerfile | ||
LINKS.md | ||
README.md | ||
SUMMARY.md |
linux-insides
A book-in-progress about the linux kernel and its insides.
The goal is simple - to share my modest knowledge about the insides of the linux kernel and help people who are interested in linux kernel insides, and other low-level subject matter. Feel free to go through the book Start here
Questions/Suggestions: Feel free about any questions or suggestions by pinging me at twitter @0xAX, adding an issue or just drop me an email.
Mailing List
We have a Google Group mailing list for learning the kernel source code. Here are some instructions about how to use it.
Join
Send an email with any subject/content to kernelhacking+subscribe@googlegroups.com
. Then you will receive a confirmation email. Reply it with any content and then you are done.
If you have Google account, you can also open the archive page and click Apply to join group. You will be approved automatically.
Send emails to mailing list
Just send emails to kernelhacking@googlegroups.com
. The basic usage is the same as other mailing lists powered by mailman.
Archives
https://groups.google.com/forum/#!forum/kernelhacking
Support
Support If you like linux-insides
you can support me with:
On other languages
Docker
In order to run your own copy of the book with gitbook within a local container:
-
Enable Docker experimental features with vim or another text editor
sudo vim /usr/lib/systemd/system/docker.service
Then add --experimental=true to the end of the ExecStart=/usr/bin/dockerd -H fd:// line and save.
Eg: ExecStart=/usr/bin/dockerd -H fd:// --experimental=true
Then, you need to reload and restart the Docker daemon:
systemctl daemon-reload systemctl restart docker.service
-
Build container image
docker image build \ --rm --squash \ --label linux-insides \ --tag linux-insides-book:latest \ -f Dockerfile .
-
Create and run book in local container
docker run \ --detach \ --rm \ -p 4000:4000 \ --name linux-insides-book \ --hostname linux-insides-book \ linux-insides-book
-
Open your local copy of linux insides book under this url http://localhost:4000
Contributions
Feel free to create issues or pull-requests if you have any problems.
Please read CONTRIBUTING.md before pushing any changes.
Author
LICENSE
Licensed BY-NC-SA Creative Commons.