Tag:dockerfile

  • Build a safe, reliable and minimized docker image

    Time:2020-6-29

    Containerized deployment is more and more used in enterprise production environment. How to build itReliable, safe, minimizedOfDockerImage is becoming more and more important. This article will be aimed at this problem, through the way of principle and practice, to help you roll over from head to toe. The article is relatively long, mainly through five […]

  • Docker + daocloud to realize automatic construction and deployment of front-end projects

    Time:2020-6-24

    The automation deployment of the project is more used in large companies or unicorns, which is more efficient than the manual deployment of the project. So this paper combines the knowledge points of docker and nginx learned before to simply realize the automatic deployment of vuejs project, which is similar to other projects. Operating environment […]

  • Docker from beginner level to actual combat – Basic chapter

    Time:2020-6-13

    Docker from beginner level to actual combat – Basic chapter Docker Foundation preface This is an article I wrote after three weeks of spare time study. I am still in the initial stage of understanding docker. I hope this article can help some friends who want to learn docker get started quickly. Both the exercises […]

  • Docker from beginner level to actual combat – actual combat chapter

    Time:2020-6-10

    Docker from beginner level to actual combat – actual combat chapter preface This is an article I wrote after three weeks of spare time study. I am still in the initial stage of understanding docker. I hope this article can help some friends who want to learn docker get started quickly. Both the exercises and […]

  • How to customize image for docker dockerfile

    Time:2020-3-31

    Using dockerfile to customize image The customization of image is actually to customize the configuration and files added by each layer. If we can write the commands of modification, installation, construction and operation of each layer into a script, and use this script to build and customize the image, the problems that cannot be repeated, […]

  • [docker topic (6)] dockerfile

    Time:2020-1-7

    About dockerfile Dockerfile is the foundation for docker to build image, and it is also an important feature that distinguishes docker from other containers. With dockerfile, the automation and portability of docker become possible. Whether it’s development or operation and maintenance, it’s almost necessary to learn to write dockerfile, which helps you understand the operation […]

  • Manji studies docker

    Time:2020-1-6

    What is Docker? Docker is a container for things. What is it? It can be redis, nginx, and mysql. All you can install on the system can be installed in dokcer. Maggie: why do you do that? Centralized management, convenient use and installationYou don’t need to find configuration files or startup files in each directory. […]

  • [docker topic (8)] single node best practice

    Time:2020-1-1

    Command shortcut wget -P ~ https://github.com/a5635268/docker_dev/.bashrc_docker; echo “[ -f ~/.bashrc_docker ] && . ~/.bashrc_docker” >> ~/.bashrc; source ~/.bashrc #Enter container docker-enter nginx #Run command on container docker-enter nginx — uptime docker-enter nginx — df -h #Information view docker-ip nginx docker-pid nginx [info] other specific commands can extend the source file bashrc [u docker] laradock Take […]

  • Experience recall (pure manual) = > comprehensive recall of docker syntax

    Time:2019-12-31

    Hello Docker Official installation tutorial: https://docs.docker.com/install/linux/docker-ce/ubuntu/ Go in and select the corresponding system / distribution, copy paste run according to the command. It can be installed successfully (no extra operation is required at all) Image (mirror) docker search Docker search Python lists the images provided by dockerhub Docker pull (download) Docker pull Python: 3.7 download […]

  • Experience recall (pure manual) = > Python version – simple example of docker using selenium

    Time:2019-12-22

    The contents of dockerfile are as follows FROM python RUN pip install -i http://pypi.douban.com/simple \ requests selenium retrying –trusted-host pypi.douban.com Docker-compose.yaml is as follows version: “3.7” services: myspider: build: . Volumes: data volume mapping – /root/mycode:/root/mycode command: python /root/mycode/1.py #Depend on the selenium service below. Note that this dependency can only be achieved #Selenium service […]

  • Getting started with docker – using dockerfile

    Time:2019-12-20

    Using dockerfile to customize image The customization of image is actually to customize the configuration and files added by each layer. We can write a script to modify, install, build, and operate each layer. This script is dockerfile. Dockerfile is a text file, which contains instructions. Each instruction builds a layer, so the content of […]

  • Fast installation and simple use of docker and docker compose

    Time:2019-12-12

    This article will use daocloud source to install docker and docker compose quickly and easily on UbuntuAn example of using nginx through dockerfile and docker-compose.yml is addedThe system information used in this article is as follows Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Installation and use of docker Brief introduction Docker is an […]