Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Oct 2, 2024
1 parent 5306259 commit 40ac778
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions springSpotifyPlayList/doc/install_docker_ubuntu.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

cd SpringPlayground/springSpotifyPlayList


# FE

sudo snap install docker


sudo docker build -t my-frontend .


sudo docker run -d -p 8080:8080 my-frontend

sudo docker run -it my-frontend /bin/sh


sudo docker logs <container_id>



sudo docker ps -a

sudo docker images




# clean

sudo docker rm -f $(sudo docker ps -aq)
# Remove all images
sudo docker rmi -f $(sudo docker images -q)
# remove all containers in docker
sudo docker rm -f $(sudo docker ps -a -q)
# remove all images in docker
sudo docker rmi -f $(sudo docker images -q -a)


# BE


# ALL

0 comments on commit 40ac778

Please sign in to comment.