Skip to content

axeldeau/testapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testapi

Go commands

go get github.com/Crossfire972/testapi
cd $GOPATH/src/github.com/Crossfire972/testapi

Docker Commands

To create the conainter, run:

time docker build -t crossfire972/testapi .

To start it:

docker run -d -p 1323:1323 -name testapi crossfire972/testapi

To check the it started correctly, run:

docker ps | grep testapi
docker logs testapi

To stop the container, run:

docker stop testapi

To delete the container, run:

docker rm testapi

# If the container is still running use (-f)
docker rm -f testapi

To remove the image, run:

docker rmi crossfire972/testapi

About

testing dockerizing golang application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages