最新 最热

A lightweight open-source video cloud based on Nodejs, SRS, FFmpeg, WebRTC, etc.

A lightweight open-source video cloud based on Nodejs, SRS, FFmpeg, WebRTC, etc.

2023-04-18
4

骚操作!居然能修改已运行的 Docker 容器端口映射?

如果你的容器还没有构建时,想添加端口映射时,你只需要在创建容器的时候添加 -p 参数,想添加几个端口映射就追加几个 -p 参数。类似于如下示例:

2023-03-19
4

Linux (Ubuntu): vlc root permission

Snap packages are in containers which prevent them from "seeing" outside of those containers unless you give them permission.

2022-12-02
5

2021年大数据Hadoop(二十七):YARN运行流程

Yarn运行流程client向RM提交应用程序,其中包括启动该应用的ApplicationMaster的必须信息,例如ApplicationMaster程序、启动ApplicationMaster的命令、用户程序等。ResourceManager启动一个container用于运行Application...

2021-10-11
2

C++核心准则讨论:按值返回容器(依靠移动或复制省略高效率)

To simplify code and eliminate a need for explicit memory management. To bring an object into a surrounding scope, thereby extending its lifetime.

2020-12-31
2

C++核心准则ES.107:不要使用无符号数下标,使用gsl::index更好​

To avoid signed/unsigned confusion. To enable better optimization. To enable better error detection. To avoid the pitfalls with auto and int.

2020-06-24
2

k8s支持Capability机制

比如,我们可以通过给给容器add NET_ADMIN Capability,使得我们可以对network interface进行modify,对应的docker run命令如下:

2020-06-11
2

Deployment.spec.selector.matchLables实验解释

#当把matchLables匹配的和下面pod模板不相对应,也会直接报错,选择的和模板标签不匹配

2019-02-23
4