Skip to content

Code accompaniment to the Docker practical tutorial

Notifications You must be signed in to change notification settings

scc311/docker-tutorial

Repository files navigation

Docker Tutorial 🐳

This will cover the basics of using Docker from the command line, highlighting a few use cases where Docker can be useful.

These have been tested on Docker for MacOS, but should have no issues on Docker for Linux. Docker for Windows 10 should be set to run linux containers! And you Windows 10 install should have been updated after May 2020.


Hello World

This will simply cover how to build and run containers from the command line. Also covering some of the Dockerfile spec.

See here.

Web Server

This will show how to use port mapping in Docker, and also cover volume mounting.

See here.

Environment Variables

This will just cover the use of environment variables.

See here.

Use Case: Minecraft Servers

This will cover how to quickly run a Minecraft server using Docker. To represent how docker can be best used, this will run 2 Minecraft servers, each a different server version.

This is for the Java version of Minecraft

See here.

Use Case: Java RMI Coursework

This shows how you can use Docker for your coursework, showing the calculator example from Moodle.

See here.


CI/CD 🚀

If you're interested in using Docker for CI/CD, check out this repos workflows here. This uses GitHub actions to build the container images and push them to the SCC311 GitHub org.

Extra Help:

This will not be assessed! But if you do need any extra help, just contact a TA or, if you want to fix problems with this repository, make a GitHub issue.

About

Code accompaniment to the Docker practical tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages