| by Arround The Web

How to Set Environment Variables in Docker

Docker is an open-source application that provides lightweight operating-system-level virtualization through the use of containers. Learn how to set environment variables in Docker here. It is a kind of virtualization technology that is specially designed to easily develop and deploy applications inside of neatly packaged virtual containerized environments. Docker containers are, in essence, a set […]

The post How to Set Environment Variables in Docker appeared first on Linux Today.

Share Button
Read More
| by Arround The Web

Dockerize Node.js apps with Buildpacks

Docker has long been the go-to tool to create easily distributable and deployable artifacts. However, creating a Docker image from your custom application code requires a little expertise, especially if you regularly rebuild images as you make changes to your code. It is very easy to unnecessarily download thousands of packages each time an image […]

The post Dockerize Node.js apps with Buildpacks appeared first on Linux Today.

Share Button
Read More
| by Arround The Web

How to Install Docker and Docker Compose on Debian 11

Docker is a free and open-source platform to develop, ship, and run applications in the containerized environment. In this tutorial, we will show you how to install Docker and Docker compose on Debian 11.
The post How to Install Docker and Docker Compo…

Share Button
Read More
| by Arround The Web

How to Install Docker and Docker Compose on Debian 11

Docker is a free and open-source platform to develop, ship, and run applications in the containerized environment. In this tutorial, we will show you how to install Docker and Docker compose on Debian 11.
The post How to Install Docker and Docker Compo…

Share Button
Read More
| by Arround The Web

How to Install Graphite and Graphite Web on Ubuntu 20.04

Source: LinOxide

Share Button
Read More
| by Arround The Web

How to Install Docker on Amazon Linux 2

Learn how to install Docker and docker-compose on Amazon Linux 2 (AMI) and build sample applications running on AWS EC2/Lightsail VM cloud server.
The post How to Install Docker on Amazon Linux 2 appeared first on Linux Today.

Share Button
Read More
| by Scott Kilroy

How to Install Docker CE on AlmaLinux 8 or Rocky Linux 8

Source: LinOxide

Share Button
Read More
| by Arround The Web

How to Install Docker on Rocky Linux and AlmaLinux

Docker comes in two main editions: Docker community edition (Docker CE) and Docker enterprise edition (Docker EE). The community edition is completely free and open-source, whilst the enterprise edition is a premium version.
Join us as we walk you thro…

Share Button
Read More
| by Scott Kilroy

How to Install Docker on Rocky Linux and AlmaLinux

The post How to Install Docker on Rocky Linux and AlmaLinux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .Docker is a hugely popular containerization platform tool that allows users to develop, test and deploy applications in a smooth an…

Share Button
Read More
| by Arround The Web

Docker Logs: What They Are and How to Use Them (with Examples)

If you are a sysadmin responsible for building and managing containerized applications, docker logging is important. In this article, we are going to show you everything you need to know about Docker logs and how to work with them.
The post Docker Logs…

Share Button
Read More
| by Arround The Web

How to Install Ansible AWX 17.1.0 on Ubuntu 20.04

Source: LinOxide

Share Button
Read More
| by Arround The Web

How to Install Docker Compose on Ubuntu 20.04

Source: LinOxide

Share Button
Read More
| by Arround The Web

Using Ansible playbook to install Docker on Centos 7

Introduction Docker is a containerization engine and platform that encapsulates application code along with all of its dependencies inside a container. Containers are like virtual machines but they are more portable, more lightweight, and more dependent on the host operating system. Please do check out our extensive series of posts on docker. In this article, we […]

The post Using Ansible playbook to install Docker on Centos 7 appeared first on The Linux Juggernaut.

Share Button
Read More
| by Scott Kilroy

Create a docker container with the name option

Create a docker container with a name you choose by including the –name=”NAME” option for example you could use docker create –name=”kilroy” ubuntu:latest

Share Button
Read More
| by Scott Kilroy

Docker hostname option

You can control the hostname when you start a container by using the –name option docker run –rm -ti –hostname =”mycontainer.linuxconsultant.org” ubuntu:latest

Share Button
Read More
| by Scott Kilroy

Push docker a image to docker.com

Tag your image with: docker tag username_on_registry/image_name:latest Then docker push username_on_registry/image_name:latest

Share Button
Read More
| by Scott Kilroy

login to your local machine

using docker exec docker exec -t -i CONTAINERID /bin/bash for example docker exec -t -i 589f2ad30138 /bin/bash using docker-machine docker-machine ssh MACHINENAME

Share Button
Read More
| by Scott Kilroy

View docker logs

docker logs CONTAINERID for example docker logs c5a6254f7da2 to see logs update in realtime (similar to tail -f) add -f for example docker logs c5a6254f7da2 -f for no logs add the option –log-driver = none

Share Button
Read More
| by Scott Kilroy

View docker stats

docker stats CONTAINERID for example docker stats 2a39d6844918

Share Button
Read More
| by Scott Kilroy

Update local images

docker pull DISTRONAME:latest for example docker pull ubuntu:latest

Share Button
Read More
  • 1
  • 2