[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571991-105":53,"doc-detail-571991-en":126},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","jfrogdockercheatsheet-docker-cheat-sheet-linux-installation-and-commands","JFrogDOCKERCheatSheet - Docker Cheat Sheet - Linux Installation and Commands","","Docker Cheat Sheet explains Docker as an open-source platform for building containers and container-based applications, introduced in 2013 to run multiple applications on one server with component isolation. It covers installation on Debian/Ubuntu via apt, repository setup with the Docker GPG key, and key concepts such as images, containers, layers, registries, Dockerfile, volumes, and host/engine. It also provides practical command examples, compares Docker containers with virtual machines, and introduces Docker Compose with a short workflow and an example Dockerfile setup.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/jfrogdockercheatsheet-docker-cheat-sheet-linux-installation-and-commands/571991/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/jfrogdockercheatsheet-docker-cheat-sheet-linux-installation-and-commands/571991.png","ImageObject",442,249,{"name":88,"@type":89},"GGG","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-25","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":47},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What problem does Docker solve compared to running multiple apps on one server?","Question",{"text":108,"@type":109},"Docker enables multiple applications to run on one server while keeping each application’s components separate through container isolation.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"How do you install Docker on Debian/Ubuntu using apt?",{"text":113,"@type":109},"Update the apt index, install required HTTPS and certificate packages, add Docker’s official GPG key, configure the stable repository, then install docker-ce, docker-ce-cli, and containerd.io.",{"name":115,"@type":106,"acceptedAnswer":116},"What is the key difference between Docker containers and virtual machines?",{"text":117,"@type":109},"A VM virtualizes the OS and requires its own underlying OS, while Docker containers share the host OS kernel and virtualize the OS service instead, reducing duplication.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},571991,1792112763,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":47,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":135,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":136,"faqs":137,"seo_title":138,"seo_description":61,"update_tm":139,"read_time":9},962093532725,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","DOCKER CHEAT SHEET  \nGENERAL DEFINITIONS  \nDocker is an open-source project for building containers and container-based applications. It was introduced in 2013 to solve the challenge of running multiple applications on one  \nserver, while keeping the components of each application separate.  \nHow does it work?  \nDocker small, lightweight execution environments make shared use of the operating system kernel, while keeping them running in isolation from one another. Making it possible to simplify the development cycle, for example when testing your application and setting up diﬀerent database versions quickly. Docker allows you to easily manage  \ndiﬀerent containers and versions.  \nHOW TO INSTALL DOCKER  \nUpdate the apt package index and install packages to allow apt to use a repository over [HTTPS:](HTTPS:)  \n[$ sudo apt-get update]($ sudo apt-get update)  \n$ sudo apt-get install \\  \napt-transport-[https](https) \\  \nca-certificates \\  \ncurl \\  \ngnupg-agent \\  \nsoftware-properties-common  \nAdd Docker’s oﬃcial GPG key:  \nUse the following command to set up the stable repository.  \n$ curl-fsSL [https://download.docker.com/linux/debian/gpg | sudo](https://download.docker.com/linux/debian/gpg | sudo) apt-key add-$ sudo add-apt-repository \\  \n\"deb [arch=amd64] [https://download.docker.com/linux/debian](https://download.docker.com/linux/debian) \\  \n$(lsb_release-cs) \\  \nstable\"  \nUpdate the apt package index, and install the latest version of Docker Engine and containerd, or go to the next step to install a speciﬁc version  \n$ sudo apt-get update  \n$ sudo apt-get install docker-ce docker-ce-cli [containerd.io](containerd.io)  \nGeneral Deﬁnitions  \nImage: Static snapshot of a container’s conﬁguration.  \nContainer: Application sandbox, where each container is based on an image.  \nLayer: Image is composed of a read-only ﬁle system layer.  \nDocker registry: Remote server for sorting Docker images. For example, the JFrog Container Registry.  \nDocker hub: Central oﬃcial repository registry service provided by Docker, see the integration below.  \nDockerﬁle: Conﬁguration ﬁle with build instructions for a Docker image.  \nVolume: Directory shared between the host and the container.  \nDocker host: Server that runs docker-engine.  \nDocker engine: Docker platform installation running on a given host.  \nA beginner’s guide to understanding and building Docker images >  \n10 USEFUL DOCKER COMMANDS  \n10 useful Docker commands Informational  \n$ docker ps List all running containers. Add the-a ﬂag to get a list of the stopped containers.  \n$ docker logs \u003CContainer_Name> List the logs from a running container.  \n$ docker image ls List all locally stored images.  \nContainer Management  \n$ docker create \u003CImage_Name> Create a container without starting it  \n$ docker run \u003CImage_Name> Create and start a container  \n$ docker stop \u003CContainer_Name> Stop a running container.  \n$ docker rm \u003CContainer_Name> Delete a container that isn’t running. Use the--force ﬂag to delete a running container.  \n$ docker rmi \u003CImage_Name> Remove an image.  \n$ docker pull \u003CImage_Name> Pull an image from a registry.  \n$ docker push \u003CImage_Name> Push an image to a registry.  \nWHAT IS DOCKER AND WHY DO WE NEED CONTAINERS?  \nWHAT IS DOCKER COMPOSE? HOW TO INSTALL DOCKER-COMPOSE  \nHow to install docker-compose  \nRun the following command to download the current stable release of Docker Compose:  \n$ sudo curl-L \"[https://github.com/docker/compose/releases/down](https://github.com/docker/compose/releases/down)  \nload/1.28.2/docker-compose-$(uname-s)-$(uname-m)\" -o /usr/local/bin/docker-compose  \nApply executable permissions to the binary:  \n$ sudo chmod +x /usr/local/bin/docker-compose  \nYou can also create a symbolic link to /usr/bin or any other directory in your path, such as:  \n$ sudo ln-s /usr/local/bin/docker-compose /usr/bin/docker-compose  \nDOCKER CONTAINERS VS VIRTUAL MACHINES  \nA virtual machine (VM) is a compute resource that uses software instead of a physical computer. It provi","cbCaipaTdGTjmvZA","https://ap.wps.com/l/cbCaipaTdGTjmvZA","pdf",5173484,"English","# General Definitions\n## How Docker works\n## Core concepts: Image, Container, Layer, Registry, Dockerfile, Volume, Host, Engine\n# How to Install Docker\n## apt update and package installation\n## Add Docker GPG key and stable repository\n# Useful Docker Commands\n## Informational commands\n## Container management\n## Image operations\n# Docker Compose\n## Install Docker Compose\n## 3-step process to start using docker-compose\n# Docker Containers vs Virtual Machines\n# Docker & JFrog","[{\"question\":\"What problem does Docker solve compared to running multiple apps on one server?\",\"answer\":\"Docker enables multiple applications to run on one server while keeping each application’s components separate through container isolation.\"},{\"question\":\"How do you install Docker on Debian/Ubuntu using apt?\",\"answer\":\"Update the apt index, install required HTTPS and certificate packages, add Docker’s official GPG key, configure the stable repository, then install docker-ce, docker-ce-cli, and containerd.io.\"},{\"question\":\"What is the key difference between Docker containers and virtual machines?\",\"answer\":\"A VM virtualizes the OS and requires its own underlying OS, while Docker containers share the host OS kernel and virtualize the OS service instead, reducing duplication.\"}]","JFrogDOCKERCheatSheet - Docker Cheat Sheet - Linux Installation and Commands | PDF",1791924896]