Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Node.js version number instead of codename in Docker guide #1700

Merged
merged 1 commit into from
Jun 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions locale/en/docs/guides/nodejs-docker-webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ touch Dockerfile
Open the `Dockerfile` in your favorite text editor

The first thing we need to do is define from what image we want to build from.
Here we will use the latest LTS (long term support) version `carbon` of `node`
Here we will use the latest LTS (long term support) version `8` of `node`
available from the [Docker Hub](https://hub.docker.com/):

```docker
FROM node:carbon
FROM node:8
```

Next we create a directory to hold the application code inside the image, this
Expand Down Expand Up @@ -144,7 +144,7 @@ CMD [ "npm", "start" ]
Your `Dockerfile` should now look like this:

```docker
FROM node:carbon
FROM node:8

# Create app directory
WORKDIR /usr/src/app
Expand Down Expand Up @@ -195,7 +195,7 @@ $ docker images

# Example
REPOSITORY TAG ID CREATED
node carbon 1934b0b038d1 5 days ago
node 8 1934b0b038d1 5 days ago
<your username>/node-web-app latest d64d3505b0d2 1 minute ago
```

Expand Down
16 changes: 8 additions & 8 deletions locale/ko/docs/guides/nodejs-docker-webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ touch Dockerfile
Open the `Dockerfile` in your favorite text editor

The first thing we need to do is define from what image we want to build from.
Here we will use the latest LTS (long term support) version `carbon` of `node`
Here we will use the latest LTS (long term support) version `8` of `node`
available from the [Docker Hub](https://hub.docker.com/):

```docker
FROM node:carbon
FROM node:8
```
-->

Expand All @@ -167,10 +167,10 @@ touch Dockerfile

가장 먼저 해야 할 것은 어떤 이미지를 사용해서 빌드할 것인지를 정의하는 것입니다. 여기서는
[Docker Hub](https://hub.docker.com/)에 있는
`node`의 최신 LTS(장기 지원) 버전인 `carbon`을 사용할 것입니다.
`node`의 최신 LTS(장기 지원) 버전인 `8`을 사용할 것입니다.

```docker
FROM node:carbon
FROM node:8
```

<!--
Expand Down Expand Up @@ -264,7 +264,7 @@ CMD [ "npm", "start" ]
Your `Dockerfile` should now look like this:

```docker
FROM node:carbon
FROM node:8

# Create app directory
WORKDIR /usr/src/app
Expand Down Expand Up @@ -296,7 +296,7 @@ CMD [ "npm", "start" ]
`Dockerfile`은 다음과 같아야 합니다.

```docker
FROM node:carbon
FROM node:8

# 앱 디렉터리 생성
WORKDIR /usr/src/app
Expand Down Expand Up @@ -357,7 +357,7 @@ $ docker images

# Example
REPOSITORY TAG ID CREATED
node carbon 1934b0b038d1 5 days ago
node 8 1934b0b038d1 5 days ago
<your username>/node-web-app latest d64d3505b0d2 1 minute ago
```
-->
Expand All @@ -379,7 +379,7 @@ $ docker images

# 예시
REPOSITORY TAG ID CREATED
node carbon 1934b0b038d1 5 days ago
node 8 1934b0b038d1 5 days ago
<your username>/node-web-app latest d64d3505b0d2 1 minute ago
```

Expand Down
8 changes: 4 additions & 4 deletions locale/uk/docs/guides/nodejs-docker-webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ touch Dockerfile
Open the `Dockerfile` in your favorite text editor

The first thing we need to do is define from what image we want to build from.
Here we will use the latest LTS (long term support) version `carbon` of `node`
Here we will use the latest LTS (long term support) version `8` of `node`
available from the [Docker Hub](https://hub.docker.com/):

```docker
FROM node:carbon
FROM node:8
```

Next we create a directory to hold the application code inside the image, this
Expand Down Expand Up @@ -144,7 +144,7 @@ CMD [ "npm", "start" ]
Your `Dockerfile` should now look like this:

```docker
FROM node:carbon
FROM node:8

# Create app directory
WORKDIR /usr/src/app
Expand Down Expand Up @@ -195,7 +195,7 @@ $ docker images

# Example
REPOSITORY TAG ID CREATED
node carbon 1934b0b038d1 5 days ago
node 8 1934b0b038d1 5 days ago
<your username>/node-web-app latest d64d3505b0d2 1 minute ago
```

Expand Down