Java by typing


Channel's geo and language: not specified, not specified
Category: not specified


head : https://t.me/iyman_java_n1

Related channels

Channel's geo and language
not specified, not specified
Category
not specified
Statistics
Posts filter


muhammad@muhammad-Lenovo-V130-15IKB:~$ sudo docker run hello-world
[sudo] password for muhammad:
33
Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/

For more examples and ideas, visit:
https://docs.docker.com/get-started/


Use the following command to stop the Docker Engine service:

sudo systemctl stop docker docker.socket containerd

Depending on your installation, the Docker Engine may be configured to automatically start as a system service when your machine starts. Use the following command to disable the Docker Engine service, and to prevent it from starting automatically:
sudo systemctl disable docker docker.socket containerd

#Docker #Engine


#Docker
#virtual #machine and #containers


USERS -> users list
MOUNT -> Access to file systems
NET -> Network communication
IPC -> Interprocess communication
TIME -> the ability to change time
PID -> process ID Management
CGROUP -> create control groups
UTC -> create host/domain names

#namespaces
#Docker


Control Group uses

1. Monitor and restrict CPU usage
2. Monitor and restrict network and disk bandwidth
3. Monitor and restrict memory consumption

Note you can not use control group to assign disk quotas to containers.

Control groups and namespaces are very different and much lighter way to isolation than vitualizing entire pieces of hardware like virtual machines do


#namespaces
#control #groups
#Docker


A container is composed of two things: a Linux namespace and a Linux control group


#container
#Docker


the biggest difference is that virtual machine virtualize hardware whereas containers vitualize operating system kernels

#Docker
#virtual #machine and #containers


Docker is software that allows developers to package their apps into images that run on containers.

Images are created from lightweight configuration files that describe everything your app needs to run.

unlike virtual machine, containers are virtualized operating system that are configured with just enough to run your app

Containers are created from images

#images #container
#Docker

8 last posts shown.

4

subscribers
Channel statistics