docker (11) 썸네일형 리스트형 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.[Docker : real ! 해결방법 ] https://technote.kr/372 [Docker][해결방법] WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Dockerfile 내에서 apt 를 사용하면 "WARNING: apt does not have a stable CLI interface. Use with caution in scripts." 문구가 출력된다. apt 명령어의 경우 사용자와의 interaction 에 중점을 둔 CLI 이기에 script 내에서 사용 technote.kr 이분 것을 봐도 모르겠다 해서 오셨으면 잘 오셨습니다 . https://devkly.com/nodejs/install-nodejs-on-docker-ubuntu.. [Docker] : Docker-compose.yml https://gist.github.com/egoing/b62aa16573dd5c7c5da51fd429a5faa2 docker-compose.md GitHub Gist: instantly share code, notes, and snippets. gist.github.com docker network create wordpress_net 워크프레스 네트워크를 생성해 줍니다. $ docker \ > run \ > --name "db" \ > -v "$(pwd)/db_data:/var/lib/mysql" \ > -e "MYSQL_ROOT_PASSWORD=123456" \ > -e "MYSQL_DATABASE=wordpress" \ > -e "MYSQL_USER=wordpress_user" \ > -e "MY.. [Docker] : dockerfile 작성-> image 생성 -> Container 생성 및 운영 그리고 DockerHub에 push 마무리 @@@ const express = require('express'); const app = express(); app.get('/',(req,res)=> { res.send("👻 CentumJoonho in Docker !!👻"); }); app.listen(8088,() =>console.log("server is running😈")); -> express 통해서 간단하게 서버를 운영해보았다. docker 사용법 Dockerfile 생성 -> 물론 그전에 Visual Studio Code -> extension -> Docker 설치해야함 FROM node:16-alpine # 사용할 베이스 이미지 WORKDIR /app # 이미지 안에서 어디 경로로 어플리케이션을 복사해 올 것인지 # 레이어 시스템 : 순.. 이전 1 2 다음