技术改变世界 阅读塑造人生! - shaogx.com

This string was altered by TechBlog\Plugins\Example.; This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.

改善 Docker 镜像系统安全性的补救措施

  最近在使用Docker下载一个“官方”容器镜像时我看到这么一行提示:... 全文

Docker Docker Image 镜像安全

用Dockerfile构建docker image

dockerfile是为快速构建docker image而设计的,当你使用docker build 命令的时候,docker 会读取当前目录下的命名为Dockerfile(首字母大写)的纯文本文件并执行里面的指令构建出一个docker image。... 全文

docker linux技巧

【Docker】构建mysql的image和container

构建mysql的image的Dockerfile如下:FROM ubuntu RUN dpkg-divert --local --rename --add /sbin/initctl RUN ln -nfs /bin/true /sbin/initctl RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" >> /etc/apt/sources.list RUN apt-get update RUN apt-get upgrade -y RUN apt-get -y install mysql-client mysql-server RUN sed -i -e"s/^bind-address\s*=\s*127.0.0.1/bind-address = 0.0.0.0/" /etc/mysql/my.cnf ADD ./startup.sh /opt/startup.sh EXPOSE 3306 CMD ["/bin/bash", "/opt/startup.sh"]... 全文

Docker 云计算 mysql

1