docker容器服务器 - centos atomic host
https://blog.inovex.de/docker-a-comparison-of-minimalistic-operating-systems
https://github.com/rvykydal/anaconda-kickstarts/tree/master/atomic
docker实践 http://www.cnblogs.com/hustcat/category/427554.html
https://yeasy.gitbooks.io/docker_practice/content/kubernetes/quickstart.html
1. CoreOS
2. Project Atomic
3. Ubuntu Snappy
4. RancherOS
5. Photon
https://github.com/CentOS/sig-atomic-buildscripts
https://github.com/CentOS/Community-Kickstarts
https://access.redhat.com/blogs/1169563/posts/1318283
http://www.projectatomic.io/docs/compose-your-own-tree/
http://developerblog.redhat.com/2015/01/08/creating-custom-atomic-trees-images-and-installers-part-1
http://developerblog.redhat.com/2015/01/15/creating-custom-atomic-trees-images-and-installers-part-2
/opt/opmgmt/install/pxelinux.cfg/01-78-2b-cb-69-10-f3
label CentOS Atomic Host 7
MENU DEFAULT
MENU LABEL CentOS Atomic Host 7 [01:78:2b:cb:69:10:f3]
KERNEL atomic7/vmlinuz
APPEND initrd=atomic7/initrd.img ip=dhcp BOOTIF=78:2b:cb:69:10:f3 inst.ks=http://install.localhost/kickstart/78:2b:cb:69:10:f3 ramdisk_size=102400 console=tty1 console=ttyS1,115200
/opt/opmgmt/install/kickstart/78:2b:cb:69:10:f3
#python -c 'import crypt; print(crypt.crypt("123456", "$6$MySalt"))'
rootpw --iscrypted $6$MySalt$e0fnxWlZ3UCN4HnSSx6U7zQGgzX7AlGBfZ75msCser0B2ZPRHBmwZjOVW6Cai/1Ba5f7B5uTsucedaHsEd8W6/
auth --enableshadow --passalgo=sha512
keyboard us
timezone Asia/Shanghai
lang en_US.UTF-8
install
url --url=http://install.localhost/atomic7
bootloader --location=mbr --boot-drive=sda
clearpart --all --initlabel --drives=sda
part /boot --fstype=xfs --ondisk=sda --size=500
part / --fstype=xfs --ondisk=sda --grow
part swap --fstype=swap --ondisk=sda --size=8000
network --bootproto=static --device=78:2b:cb:69:10:f3 --gateway=192.168.48.1 --ip=192.168.48.122 --nameserver=192.168.48.116 --netmask=255.255.255.0 --ipv6=yes --onboot=yes --activate
network --hostname=bjyh-48-122
ostreesetup --nogpg --osname=centos-atomic-host --remote=centos-atomic-host --url=http://yum.localhost/centos/7/atomic/x86_64/repo --ref=centos-atomic-host/7/x86_64/standard
#firewall --disabled
selinux --disabled
firstboot --disabled
#services --disabled=cloud-init,cloud-config,cloud-final,cloud-init-local,docker-storage-setup
services --disabled=NetworkManager
services --enabled=network
reboot
%pre
/usr/sbin/parted -s /dev/sda mklabel gpt
%end
%post
ostree remote delete centos-atomic-host
ostree remote add --set=gpg-verify=false centos-atomic-host http://yum.localhost/centos/7/atomic/x86_64/repo
%end
# centos atomic host仅需要/boot /2个分区,缺少或者多出,安装启动时会报错,swap分区可默认用户centos
默认用户centos
docker容器服务器 - centos atomic host的更多相关文章
- centos atomic host第一次启动
centos atomic host安装完成会,第一次启动时会调用cloud-init等服务.这是个什么东东? cloud-init用于在创建虚拟机时通过元数据服务对虚拟机基本配置,包括常见的主机名, ...
- PhpStorm连接Docker容器配置xdebug断点调试
本教程主要演示xdebug在PhpStorm中配置方法. 一.环境说明 1.Mac笔记本(本教程演示过程使用的是Mac OS操作系统,和windows环境是有区别的,这一点需要特别注意): 2.在Ma ...
- docker容器的学习笔记
目录 Docker入门学习笔记(一) 1. 什么是Docker? 2. Docke的目标 3. Docker通常应用场景 4. Docker的基本组成 补:Docker容器相关技术简介 安装Docke ...
- Docker容器内连接宿主机即CentOS的Mysql服务器
docker的宿主机是虚拟机下的CentOS 博主最近遇到一种情况,从服务器拷贝了一份数据库在宿主机Mysql服务器上,想要用本地的数据库测试自己的代码正确性,但是项目程序都是靠docker一键部署的 ...
- .NetCore下使用IdentityServer4 & JwtBearer认证授权在CentOS Docker容器中运行遇到的坑及填坑
今天我把WebAPI部署到CentOS Docker容器中运行,发现原有在Windows下允许的JWTBearer配置出现了问题 在Window下我一直使用这个配置,没有问题 services.Add ...
- docker入门——安装(CentOS)、镜像、容器
Docker简介 什么是docker 官方解释: Docker is the company driving the container movement and the only container ...
- .net core3.0部署Linux服务器 使用Docker容器和Nginx反代理教程
本人刚接触.net core 由于公司项目需要部署在Linux上 近些日子学习和网上大面积搜教程 我在这给大家归拢归拢借鉴的教程做了套方案(我写的可以实现 但不一定是最好的 仅供参考) 我只用过cor ...
- Centos 配置开机启动脚本启动 docker 容器
Centos 配置开机启动脚本启动 docker 容器 Intro 我们的 Centos 服务器上部署了好多个 docker 容器,因故重启的时候就会导致还得手动去手动重启这些 docker 容器,为 ...
- 记录Linux CentOS 7系统完整部署Docker容器环境教程
笔者之前有在"详细介绍Ubuntu 16.04系统环境安装Docker CE容器的过程"文章中有介绍到利用Ubuntu系统安装Docker容器环境的过程.如果我们有使用CentOS ...
随机推荐
- VALGRIND
系统编程中一个重要的方面就是有效地处理与内存相关的问题.你的工作越接近系统,你就需要面对越多的内存问题.有时这些问题非常琐碎,而更多时候它会演变成一个调试内存问题的恶梦.所以,在实践中会用到很多工具来 ...
- spark MapOutputTrackerMaster
最近用了一个RowNumber() over()函数 进行三张4000万数据的关联筛选,建表语句如下: create table CiCustomerPortrait2 as SELECT ROW_N ...
- Idea KeyGen
import java.math.BigInteger; import java.util.Date; import java.util.Random; import java.util.Scanne ...
- iOS 数字字符串的直接运算 + - * /
NSDecimalNumber *d1 = [NSDecimalNumber decimalNumberWithString:@"3.14"]; NSDecimalNumber * ...
- XML通過XSD產生CLASS
步驟一:通過XML獲取XSD 格式:xsd "XML的完整路徑帶文件名" /O:"輸出路徑不帶文件名". C:\Windows\system32>xsd ...
- .NET 请求被挂起,前端轮询,委托
起因:因项目需要监控方法中计算进度,故而想通过AJAX调用,返回前端显示进度,结果开发中遇到第二个AJAX请求被挂起,需要等到第一个请求(计算)完成后,才会被处理到. 百度种种,知其原因是在Sessi ...
- ajaxSubmit中option的参数
var options = { target: '#output1', // target element(s) to be updated with server response beforeSu ...
- python中的enumerate函数
enumerate 函数用于遍历序列中的元素以及它们的下标: >>> for i,j in enumerate(('a','b','c')): print i,j 0 a1 b2 c ...
- 算法库:OpenCV3编译配置
2016-01-20 23:55 更新: 关于Opencv3.1的lib文件 opencv_aruco310d.libopencv_bgsegm310d.libopencv_bioinspired3 ...
- Mingyang.net:hibernate.hbm2ddl.auto配置详解【转】
原文地址:http://www.cnblogs.com/feilong3540717/archive/2011/12/19/2293038.html hibernate.cfg.xml 中hibern ...