2021年4月26日 星期一

Docker centos7 to run systemd

 1. 

# docker run -d -name centos7 --privileged=true centos:7 /usr/sbin/init

進入容器:

# docker exec -it centos7 /bin/bash



再說到systemd,這個套件已經成為主流Linux發行版(比如CentOS7、Ubuntu14+)默認的服務管理,取代了傳統的SystemV風格服務管理。systemd維護系統服務程序,它需要特權去會訪問Linux內核。而容器並不是一個完整的作業系統,只有一個文件系統,而且默認啟動只是普通用戶這樣的權限訪問Linux內核,也就是沒有特權,所以自然就用不了!

原文網址:https://kknews.cc/code/ybkvyyg.html



ref: https://kknews.cc/zh-tw/code/ybkvyyg.html

https://plutoacharon.github.io/2020/02/23/Docker%E5%AE%B9%E5%99%A8%E5%87%BA%E7%8E%B0%E4%BD%BF%E7%94%A8systemctl%E9%97%AE%E9%A2%98%EF%BC%9AFailed-to-get-D-Bus-connection-Operation-not-permitted/

2021年4月19日 星期一

SRS content

 

https://longrm.com/2019/10/29/2019-10-29-srs_ffmpeg_transcode_as_needed/


https://hackmd.io/@Eotones/stream/%2F%40Eotones%2FHk42GMAJV



https://straas.io/blog/archives/2726/


https://blog.csdn.net/vn9PLgZvnPs1522s82g/article/details/78780562


https://github.com/ossrs/srs