buruh pelabuhan
cheat sheet
https://github.com/lifeeric/docker-cheat-sheet
Salo Hopeless
cheat sheet
https://github.com/lifeeric/docker-cheat-sheet
Docker never works the first try :(
try this:
Uninstall Docker Desktop
Restart computer
Install Docker Desktop (make sure to install it with admin rights)
$ docker-compose -f docker-compose.yml -f docker-compose.admin.yml run backup_db
docker run -d -n riscv -p 6080:80 -e USER=riscv -e PASSWORD=riscv -e RESOLUTION=1920x1080 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
$ docker ps -a
FROM risingstack/alpine:3.3-v4.2.6-1.1.3
COPY package.json package.json
RUN npm install
# Add your source files
COPY . .
CMD ["npm","start"]
$ sudo dockerd
docker run -d --name myapp -p 8080:8080 myappimage
#command of existing containers
docker ps -a
docker run \
-d \ # Detached mode, swap for -it if we want interactive.
-p 8080:8080 \
-v ${absolute_path_your_project_dir}/${MY_WAR}.war:/usr/local/tomcat/webapps/app.war \
tomcat:latest