{"id":30759,"date":"2022-01-17T18:53:19","date_gmt":"2022-01-18T02:53:19","guid":{"rendered":"https:\/\/www.docker.com\/?page_id=30759"},"modified":"2024-06-27T11:37:41","modified_gmt":"2024-06-27T18:37:41","slug":"101-tutorial","status":"publish","type":"page","link":"https:\/\/www.docker.com\/101-tutorial\/","title":{"rendered":"Docker 101 Tutorial"},"content":{"rendered":"
[et_pb_section fb_built=”1″ _builder_version=”4.16″ _module_preset=”default” background_image=”https:\/\/www.docker.com\/wp-content\/uploads\/2022\/01\/newsroom-light-blue.svg” custom_padding=”2%||||false|false” global_colors_info=”{}”][et_pb_row _builder_version=”4.25.2″ _module_preset=”default” custom_padding=”0px||||false|false” hover_enabled=”0″ global_colors_info=”{}” sticky_enabled=”0″][et_pb_column type=”4_4″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text _builder_version=”4.25.2″ _module_preset=”default” header_3_text_color=”#FFFFFF” background_layout=”dark” max_width=”740px” module_alignment=”center” hover_enabled=”0″ global_colors_info=”{}” sticky_enabled=”0″]<\/p>\n
[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=”1_2,1_2″ module_class=”buttons” _builder_version=”4.25.2″ _module_preset=”default” z_index=”99″ hover_enabled=”0″ global_colors_info=”{}” locked=”off” custom_margin=”40px||||false|false” sticky_enabled=”0″][et_pb_column type=”1_2″ _builder_version=”4.20.4″ _module_preset=”default” global_colors_info=”{}”][et_pb_button button_url=”https:\/\/docs.docker.com\/desktop\/” button_text=”Learn how to install Docker” admin_label=”Learn how to install Docker” module_id=”dkr_gs_learn_how_01″ module_class=”dark secondary” _builder_version=”4.22.0″ _module_preset=”058c18d5-46d0-4289-a246-4d8a5ff0d67a” custom_margin=”||||false|false” global_colors_info=”{}”][\/et_pb_button][\/et_pb_column][et_pb_column type=”1_2″ _builder_version=”4.20.4″ _module_preset=”default” global_colors_info=”{}”][et_pb_code admin_label=”smart_download_button” _builder_version=”4.20.4″ _module_preset=”default” custom_margin=”||||false|false” global_colors_info=”{}”] In this self-paced, hands-on tutorial, you will learn how to build images, run containers, use volumes to persist data and mount in source code, and define your application using Docker Compose. You’ll even learn about a few advanced topics, such as networking and image building best practices.<\/p>\n [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_column type=”4_4″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”]<\/p>\n [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=”1_2,1_2″ _builder_version=”4.16″ _module_preset=”default” width=”96%” global_colors_info=”{}”][et_pb_column type=”1_2″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_image src=”https:\/\/www.docker.com\/wp-content\/uploads\/2022\/01\/docker_desktop_playtoo_0.png” title_text=”docker_desktop_playtoo_0″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][\/et_pb_image][\/et_pb_column][et_pb_column type=”1_2″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_image src=”https:\/\/www.docker.com\/wp-content\/uploads\/2022\/01\/playwithdockertoo.png” title_text=”playwithdockertoo” _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=”1_2,1_2″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_column type=”1_2″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text _builder_version=”4.19.4″ _module_preset=”default” text_font_size=”16px” ol_text_color=”#697a89″ global_colors_info=”{}”]<\/p>\n Docker Desktop is a native application that delivers all of the Docker tools to your Mac or Windows Computer.<\/p>\n <\/p>\n [\/et_pb_text][\/et_pb_column][et_pb_column type=”1_2″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text _builder_version=”4.19.4″ _module_preset=”default” text_font_size=”16px” ol_text_color=”#697a89″ custom_padding=”0px|||||” global_colors_info=”{}”]<\/p>\n Play with Docker is an interactive playground that allows you to run Docker commands on a linux terminal, no downloads required.<\/p>\n <\/p>\n [\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=”Choose a plan (img right)” _builder_version=”4.20.4″ _module_preset=”default” custom_margin=”2em||2em||false|false” global_module=”29693″ saved_tabs=”all” locked=”off” global_colors_info=”{}”][et_pb_column type=”4_4″ _builder_version=”4.16″ _module_preset=”default” global_colors_info=”{}”][et_pb_text _builder_version=”4.20.4″ _module_preset=”default” text_orientation=”center” width=”100%” module_alignment=”center” custom_margin=”||||false|false” custom_padding=”|0px||||” global_colors_info=”{}”]<\/p>\n Docker isn’t just for personal projects. Discover the perfect plan to empower your team and streamline your workflow.<\/p>\nLearn how to build and share a containerized app<\/h2>\n
Take the tutorial on your desktop or in the cloud<\/h2>\n
Docker Desktop<\/h3>\n
\n
\n
docker run -dp 80:80 docker\/getting-started<\/code><\/li>\n
Play with Docker<\/h3>\n
\n
\n
docker run -dp 80:80 docker\/getting-started:pwd<\/code><\/li>\n
Choose a plan that’s right for you<\/h2>\n