码迷,mamicode.com
首页 >  
搜索关键字:docker 时区    ( 19206个结果
[开源夏令营][四] Docker remote API 之 镜像篇
列出镜像列出镜像,有两个可选參数,一个是all,一个是filter,all可选值有,0/False/false,1/True/true,默觉得0;filter是一个包括一个过滤对象的json,形式如‘{"dangling":["true"]}'GET /images/json我们能够尝试请求一下cu...
分类:Windows程序   时间:2014-07-30 17:16:44    阅读次数:402
Docker简明教程(以安装wget程序为例)
本文计划:一.安装Docker(Centos)二.注册Docker官网帐号三.下载基础centos镜像,安装需要的软件和环境后,push到自己的repository一.安装Docker(Centos)在https://fedoraproject.org/wiki/EPEL#How_can_I_use...
分类:其他好文   时间:2014-07-29 21:01:22    阅读次数:296
android 命令修改时间或程序修改系统时间
前提是手机必须先获取root; root方法见其他章节或网上都有介绍 adb shell  进入shell 终端界面 1、先设置系统的时区配置 cat /data/property/persist.sys.timezone //查看当前时区配置文件 setprop persist.sys.timezone GMT        //修改属性  2、开始设置修改当前系统时间 date...
分类:移动开发   时间:2014-07-29 17:58:32    阅读次数:1952
Hive的日期函数
1.unix时间戳转时间函数 语法: from_unixtime(bigint unixtime[, string format]) 返回值: string 说明: 转化UNIX时间戳(从1970-01-01 00:00:00 UTC到指定时间的秒数)到当前时区的时间格式 举例: hive> select from_unixtime(1323308943,‘yyyyMMdd’) from...
分类:其他好文   时间:2014-07-29 17:56:42    阅读次数:434
centos7 httpd&php
安装httpd:http://kernal.blog.51cto.com/8136890/1531545httpd支持php安装配置:[1]Installphp#yum-yinstallphpphp-mbstringphp-pear#vi/etc/php.ini878date.timezone="Asia/Shanghai"#设置时区[2]CreateTestPage#vi/var/www/html/index.php <html> <body> <d..
分类:Web程序   时间:2014-07-29 15:55:49    阅读次数:323
PHP时间处理
1.介绍UNIX时间戳 格林威治时间2.在PHP类中获取日期和时间 time(); getdate()输出数组3.日期和时间的格式化 date("H-m-d H:i:s",time());4.将日期和时间转成UNIX时间戳 mktime(小时,分钟,月,日,年);5.修改PHP的默认时区 ...
分类:Web程序   时间:2014-07-27 10:38:12    阅读次数:196
cnetos7安装docker V1.0
rpm-Uvhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum-yinstalldocker-io#仅此一条命令就可以搞定; servicedockerstart#启动docker chkconfigdockeron#加入开机启动 dockerpullcentos:latest#从docker.io中下载centos镜像到本地/var/lib..
分类:Web程序   时间:2014-07-26 03:08:07    阅读次数:313
graph driver-device mapper-02driver基本操作
// 清除thin pool 1.1 func (d *Driver) Cleanup() error { // 停止thin pool err := d.DeviceSet.Shutdown() return err } // 当加载新镜像时,添加一个新thin device // id为containerid或imageid 1.2 func (d *Driver) Create(i...
分类:移动开发   时间:2014-07-26 02:59:46    阅读次数:302
graph driver-device mapper-03thin pool基本操作
// 在thin pool中创建一个新thin device // 调用路径:driver.Create() 1.1 func (devices *DeviceSet) AddDevice(hash, baseHash string) error { //查找父device baseInfo, err := devices.lookupDevice(baseHash) if err != n...
分类:移动开发   时间:2014-07-26 02:53:26    阅读次数:347
graph driver-device mapper-04libdevmapper基本操作
// 创建thin pool // 调用路径:NewDeviceSet->initDevmapper->createPool 1.1 func createPool(poolName string, dataFile, metadataFile *os.File, poolBlockSize uint32) error { //通过task封装与libdevmapper的交互 task, er...
分类:移动开发   时间:2014-07-26 02:45:06    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!