Skip to content

Added Minecraft compose file#88

Merged
glours merged 1 commit intodocker:masterfrom
gtardif:minecraft_sample
Aug 12, 2020
Merged

Added Minecraft compose file#88
glours merged 1 commit intodocker:masterfrom
gtardif:minecraft_sample

Conversation

@gtardif
Copy link
Collaborator

@gtardif gtardif commented Aug 10, 2020

No description provided.

@glours
Copy link
Collaborator

glours commented Aug 10, 2020

And add your sample in the main README

@aiordache aiordache self-requested a review August 11, 2020 13:30
Copy link
Contributor

@aiordache aiordache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you :)

Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just few changes to merge the PR

minecraft_1 | [15:06:39] [Server thread/INFO]: Thread RCON Listener started
minecraft_1 | [15:06:39] [RCON Listener #1/INFO]: RCON running on 0.0.0.0:25575
```

Copy link
Collaborator

@glours glours Aug 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the following section.
I can't manage to correctly add code section inside the github suggestion section ¯\(ツ)
So the $ docker ps ... should be in code section 😅

Check containers are running and the port mapping:

$ docker ps
CONTAINER ID        IMAGE                   COMMAND             CREATED             STATUS                   PORTS                                 NAMES
7f696c2fb101        itzg/minecraft-server   "/start"            5 minutes ago       Up 5 minutes (healthy)   0.0.0.0:25565->25565/tcp, 25575/tcp   minecraft_minecraft_1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

```

Once it is initialized, run your Minecraft application, hit "Play", then "Multiplayer" and "Add server". Specify your new server IP : localhost:25565. You can then start playing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add screenshot of server configuration in the Minecraft 🤗?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines +57 to +76
## Stop and remove the containers
```
$ docker-compose down
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you replace with this ?

Stop and remove the containers

$ docker-compose down

To delete all data, remove all named volumes by passing the -v arguments:

$ docker-compose down -v

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks @gtardif 🤗

@glours glours merged commit 8e2d18f into docker:master Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants