Docker image for Debian Jessie with curl preinstalled
- Install Docker
- Run docker commnad to get an image:
docker pull id2s/docker-curl:latest
- Validate image successfully downloaded:
docker images
Start a mysql server instance:
# General form
$ $ docker run [OPTIONS] IMAGE[:TAG|@DIGEST] [COMMAND] [ARG...]
# Example
$ docker run -d --name curl id2s/docker-curl:latest
Other commands:
# Kill the container
docker kill [container-id]
# Shell script/shell access
$ docker exec -it curl bash
# Viewing MySQL logs
$ docker logs curl
# Start exisitng container (often: after Docker Engine update)
docker start [CONTAINER ID]