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 ...
随机推荐
- (C/C++) Callback Function 回调(diao)函数
原文: http://www.codeguru.com/cpp/cpp/cpp_mfc/callbacks/article.php/c10557/Callback-Functions-Tutorial ...
- C#学习笔记二: C#类型详解
前言 这次分享的主要内容有五个, 分别是值类型和引用类型, 装箱与拆箱,常量与变量,运算符重载,static字段和static构造函数. 后期的分享会针对于C#2.0 3.0 4.0 等新特性进行. ...
- RAC_Oracle集群服务安装Grid Infrastructure(案例)
2015-01-24 Created By BaoXinjian Thanks and Regards
- python(21)实现多进程
参考链接:http://www.cnblogs.com/kaituorensheng/p/4445418.html python多进程:multiprocessing python中的多线程其实并不是 ...
- centos7加固手册
转自:http://www.centoscn.com/CentosSecurity/CentosSafe/2015/0315/4880.html
- 用happen-before规则重新审视DCL(转)
编写Java多线程程序一直以来都是一件十分困难的事,多线程程序的bug很难测试,DCL(Double Check Lock)就是一个典型,因此对多线程安全的理论分析就显得十分重要,当然这决不是说对多线 ...
- 在存储过程中执行3种oracle循环语句
create or replace procedure pr_zhaozhenlong_loop /* 名称:在存储过程中执行3种循环语句 功能:利用循环给表中插入数据 调用: begin -- Ca ...
- css选择器权值
有的时候我们为同一个元素设置了不同的CSS样式代码,那么元素会启用哪一个CSS样式呢?我们来看一下面的代码: p{color:red;} .first{color:green;} <p clas ...
- div的contenteditable和placeholder蹦出的火花
今天在做手机端发布描述内容时,需要实现换行,还需要有plachholder. 在文本框中换行自然想到了textarea. 问题似乎已经解决了,但是当内容发布后,在html中显示换行都丢失了. 这个时候 ...
- [SQL]向3个表插入数据的存储过程 和 C# 代码
public int UpdateQty(string strPartID, int iQty, int iUpdateQty, string strBarCode, string strCreate ...