Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Docker
(view source)
Revision as of 14:02, 27 October 2021
538 bytes added
,
14:02, 27 October 2021
no edit summary
Line 399:
Line 399:
===Files to modify?===
===Files to modify?===
+
+
For now I have created a hardcoded file with the content from below
mkdir -p /usr/lib/systemd/system/docker.service.d
mkdir -p /usr/lib/systemd/system/docker.service.d
−
/etc/e-smith/templates
/usr/lib/systemd/system/docker.service.d/50koozali.conf
+
/usr/lib/systemd/system/docker.service.d/50koozali.conf
−
40service
+
If we template then we would use two fragments like this:
+
+
/etc/e-smith/templates/usr/lib/systemd/system/docker.service.d/50koozali.conf/
40service
[Service]
[Service]
Line 419:
Line 423:
Restart=always
Restart=always
−
80install
+
/etc/e-smith/templates/usr/lib/systemd/system/docker.service.d/50koozali.conf/
80install
[Install]
[Install]
Line 425:
Line 429:
expand-template /usr/lib/systemd/system/docker.service.d/50koozali.conf
expand-template /usr/lib/systemd/system/docker.service.d/50koozali.conf
+
+
+
===Docker Networking===
+
+
Docker now does it's own thing with IPTables and it is hard to disable - we need to be careful here
+
+
https://docs.docker.com/network/iptables/
+
+
How do we check conflicts?
+
+
ip addr show docker0
+
+
docker network ls
+
+
docker network inspect bridge
+
+
===Docker Compose===
===Docker Compose===
ReetP
Bureaucrats
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Administrators
877
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version