Comments (6)
Hi @yokodev
At the moment I don't have a way of making the lab images work for both cgroups v1 and v2 unfortunately, it is an area I'm looking into.
This post gives some more context on the difficulties (the lab images, use systemd to emulate a real system) -
After doing the course, you could revert the settings if desired to put this back as it was 👍
from diveintoansible-lab.
Hi @yokodev
This is related to this Linux version having cgroups v2 instead of v1, it affects Docker and Kubernetes. Fedora is more of a bleeding edge release so sometimes these kind of issues arise before they're widely adopted and resolved.
If you revert to cgroup v1 using the following commands, you'll be good to go -
sudo dnf install grubby
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
Then, reboot
Best Regards
James Spurin
from diveintoansible-lab.
Thanks for the quick reply... Is there any other way of doing this? I'm not sure I want to downgrade the Cgroups.
I was reading about it and apparently, it brings some good stuff to the table... Please Advice
from diveintoansible-lab.
Hello, I am having the same issue but on Arch Linux. I already edited GRUB to start with systemd.unified_cgroup_hierarchy=0.
[aquinas@cave diveintoansible-lab]$ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-linux root=UUID=ef929d12-55e4-4d64-bc41-41f4239bda4f rw loglevel=3 quiet systemd.unified_cgroup_hierarchy=0
EDIT: it works now :) all I had to do was run docker-compose rm and then docker-compose up
from diveintoansible-lab.
Hi,
With the system booted, what's the output you have when running mount please?
Thanks
James
from diveintoansible-lab.
Ahh perfect! I replied without seeing the edit, glad it's all working for you!
from diveintoansible-lab.
Related Issues (20)
- You have reached your pull rate limit. HOT 4
- Cloud Shell Editor Error HOT 2
- Ansible user unable to connect to hosts HOT 2
- Ansible Playbooks Deep Dive Register and When - Rev 5 HOT 2
- docker_playbook.yaml fails with timeout HOT 4
- Permission problem HOT 1
- Support Windows clients in lab HOT 1
- Login incorrect HOT 1
- Unable to install sshpass HOT 1
- Words dont appear after writing HOT 10
- ssh-keygen -H -F 172.18.0.7 not printing. HOT 6
- Windows docker-compose up fails with 'Error response from daemon: Conflict. The container name "centos3" is already in use.... HOT 3
- /diveintoansible/ directory missing on ubuntu-c HOT 1
- Only docker-compose version seems to work
- Problem to open on the browser HOT 35
- Add cleanup script HOT 1
- Add ansible_home to .gitignore
- gitattributes is missing entries for md and png
- add editorconfig
- Permission denied error after running 'docker-compose up' (Windows 11) HOT 5
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 diveintoansible-lab.