OutputNAME DESCRIPTION STARS OFFICIAL AUTOMATED
ubuntu Ubuntu is a Debian-based Linux operating sys… 10908 [OK]
dorowu/ubuntu-desktop-lxde-vnc Docker image to provide HTML5 VNC interface … 428 [OK]
rastasheep/ubuntu-sshd Dockerized SSH service, built on top of offi… 244 [OK]
consol/ubuntu-xfce-vnc Ubuntu container with "headless" VNC session… 218 [OK]
ubuntu-upstart Upstart is an event-based replacement for th… 108 [OK]
ansible/ubuntu14.04-ansible Ubuntu 14.04 LTS with
...
docker pull ubuntu
# Output:
# OutputUsing default tag: latest
# latest: Pulling from library/ubuntu
# d51af753c3d3: Pull complete
# fc878cd0a91c: Pull complete
# 6154df8ff988: Pull complete
# fee5db0ff82f: Pull complete
# Digest: sha256:747d2dbbaaee995098c9792d99bd333c6783ce56150d1b11e333bbceed5c54d7
# Status: Downloaded newer image for ubuntu:latest
# docker.io/library/ubuntu:latest
docker search ubuntu
docker run hello-world
OutputUnable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
0e03bdcc26d7: Pull complete
Digest: sha256:6a65f928fb91fcfbc963f7aa6d57c8eeb426ad9a20c7ee045538ef34847f44f1
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
...
mkdir -p docker-compose/nginx
mkdir docker-compose/mysql
DROP TABLE IF EXISTS `places`;
CREATE TABLE `places` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`visited` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `places` (name, visited) VALUES ('Berlin',0),('Budapest',0),('Cincinnati',1),('Denver',0),('Helsinki',0),('Lisbon',0),('Moscow',1),('Nairobi',0),('Oslo',1),('Rio',0),('Tokyo',0);
server {
listen 80;
index index.php index.html;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /var/www/public;
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass app:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
gzip_static on;
}
}
OutputREPOSITORY TAG IMAGE ID CREATED SIZE
ubuntu latest 1d622ef86b13 3 weeks ago 73.9MB
hello-world latest bf756fb1ae65 4 months ago 13.3kB
Recommend
How To Install and Use Docker on Ubuntu 20.04 Step 4 — Working with Docker Images
How To Install and Use Docker on Ubuntu 20.04 Step 3 — Using the Docker Command
How To Install and Use Docker on Ubuntu 20.04 Step 1 — Installing Docker
Built-in Python 3 Functions for Working with Numbers Prerequisites Still looking for an answer?
Built-in Python 3 Functions for Working with Numbers Calculating a Sum
Built-in Python 3 Functions for Working with Numbers Rounding Numbers
Built-in Python 3 Functions for Working with Numbers Power
Built-in Python 3 Functions for Working with Numbers Absolute Value
Cómo indexar, dividir y manipular cadenas en JavaScript Búsqueda y sustitución de valores de cadenas
Cómo indexar, dividir y manipular cadenas en JavaScript Recorte de espacios en blanco
Cómo indexar, dividir y manipular cadenas en JavaScript División de cadenas
Cómo indexar, dividir y manipular cadenas en JavaScript Conversión a mayúsculas o minúsculas
Cómo indexar, dividir y manipular cadenas en JavaScript Búsqueda de la longitud de una cadena
Cómo indexar, dividir y manipular cadenas en JavaScript Acceso a los caracteres
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 5 - Renombrar comandos peligrosos
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 4 - Configurar un contraseña de Redis
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 3: Vinculación a localhost
Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 2: Pruebas en Redis