Tag:dockerfile

  • [docker] dockerfile construction process, dockerfile instruction, difference between CMD and entrypoint

    Time:2022-5-1

    Article catalogue Dockerfile 1. What is dockerfile 2. Dockerfile construction process 3. Dockerfile instruction 4. Actual test 4.1 making CentOS image 4.2 making Tomcat image 4.3 difference between CMD and entrypoint 5. Publish image (understand) 6. Summary Dockerfile As we said in the previous article, image can package software running environment and software developed based […]

  • Introduction to common commands of dockerfile

    Time:2022-3-12

    catalogue 01 CMD 02 ENTRYPOINT 03 WORKDIR 04 ENV 05 USER 06 VOLUME 07 ADD 08 COPY    In previous articles, we have talked about run, from, maintainer, expose and other dockerfile related commands. Today, let’s look at the introduction of other dockerfile commands. 01 CMD CMD command is used to specify the command to be […]

  • Explain the dockerfile to create a custom docker image and the comparison between CMD and entrypoint instructions

    Time:2021-3-21

    1. Overview There are three ways to create a docker image Docker commit command: the image is generated by the container; Dockerfile file + docker build command; Import: OpenVZ template from local file system. For a general description of these three methods, please refer to yeasy / docker_ Create an image of practice. Recently, I […]

  • 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 […]