13 lines
562 B
Text
13 lines
562 B
Text
Dockerfile contentents:
|
|
|
|
FROM devopsdockeruh/simple-web-service:alpine
|
|
CMD server
|
|
|
|
|
|
Command and output:
|
|
[devops@devops part1]$ docker run --rm web-server
|
|
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
|
|
|
|
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode)
|
|
[GIN-debug] GET /*path --> server.Start.func1 (3 handlers)
|
|
[GIN-debug] Listening and serving HTTP on :8080
|