Skip to content

malik-devops/ftm-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go run init
go mod tidy

## docker

Docker is a platform designed to help developers build, share, and run container applications.

We will start by build the image.
 ```docker build -t ftm-golang .```

Check if the image is built.
 ```docker images```

To verify if the image is built successfully.
```docker run -p 8090:8080 -d ftm-golang```

Check if the image is running successfully.
 ```docker ps```

Tag the image.
 ```docker tag ftm-golang:latest <user-name>/product-api:latest```

Check if the image is created
 ```docker images```

Push the image on dockerhub repository.
 ```docker push <user-name>/product-api:latest```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published