Skip to content

Commit

Permalink
Updated RU translation
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPoenX authored Jun 6, 2019
1 parent 2e524a9 commit a1fe324
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ Check [the website](http://dockercheatsheet.painlessdocker.com).

## Linux

For more information, see [here](https://docs.docker.com/install/#server)
Больше информации [здесь](https://docs.docker.com/install/#server)

```
curl -sSL https://get.docker.com/ | sh
```

## Mac

For more information, see [here](https://docs.docker.com/docker-for-mac/install/)
Больше информации [здесь](https://docs.docker.com/docker-for-mac/install/)

Скачайте dmg по этой ссылке.

Expand All @@ -39,7 +39,7 @@ https://download.docker.com/mac/stable/Docker.dmg

## Windows

For more information, see [here](https://docs.docker.com/docker-for-windows/install/)
Больше информации [здесь](https://docs.docker.com/docker-for-windows/install/)

Используйте MSI-инсталлятор:

Expand Down Expand Up @@ -101,12 +101,12 @@ docker image push eon01/nginx localhost:5000/myadmin/nginx

# Первые действия с контейнерами

## Create and Run a Simple Container
## Создание и запуск простого контейнера

> - Start an [ubuntu:latest](https://hub.docker.com/_/ubuntu/) image
> - Bind the port `80` from the **CONTAINER** to port `3000` on the **HOST**
> - Mount the current directory to `/data` on the CONTAINER
> - Note: on **windows** you have to change `-v ${PWD}:/data` to `-v "C:\Data":/data`
> - Запустите образ [ubuntu:latest](https://hub.docker.com/_/ubuntu/)
> - Свяжите порт `80` **КОНТЕЙНЕРА** с портом `3000` **ХОСТА**
> - Смонтируйте текущую директорию в `/data` на КОНТЕЙНЕРЕ
> - Заметка: на **windows** вы должны изменить `-v ${PWD}:/data` на `-v "C:\Data":/data`
```
docker container run --name infinite -it -p 3000:80 -v ${PWD}:/data ubuntu:latest
Expand Down Expand Up @@ -215,7 +215,7 @@ docker container ls -a
docker logs infinite
```

## Follow Container Logs
## Следовать логам контейнера (вывод логов с обновлениями в реальном времени)

```
docker container logs infinite -f
Expand Down Expand Up @@ -411,15 +411,15 @@ docker network disconnect MyOverlayNetwork nginx

## Exposing Ports

Using Dockerfile, you can expose a port on the container using:
Используя Dockerfile, вы можете раскрыть порт в контейнере используя:

```
EXPOSE <port_number>
```

You can also map the container port to a host port using:
You can also map порт контейнера to порт хоста используя:

e.g.
Например,

```
docker run -p $HOST_PORT:$CONTAINER_PORT --name infinite -t infinite
Expand Down Expand Up @@ -591,4 +591,4 @@ docker service update --replicas=5 nginx

# Заметки

This work was first published in [Painless Docker Course](http://painlessdocker.com)
Эта работа впервые была опубликована в [Painless Docker Course](http://painlessdocker.com)

0 comments on commit a1fe324

Please sign in to comment.