장뽕뽕의 개발일기
close
프로필 배경
프로필 로고

장뽕뽕의 개발일기

  • 분류 전체보기 (153)
    • Java (61)
      • Springboot (28)
      • Architecture (0)
      • Algorithm (17)
      • Trouble-Shooting (3)
      • Basic (13)
    • Security (20)
      • Practice (4)
      • System (7)
      • Network (4)
      • Application (5)
    • Mobile (0)
      • Android (0)
      • Flutter (0)
    • JavaScript (16)
      • Node.js (16)
    • Linux (8)
    • Network (6)
    • Docker (4)
    • Project (5)
      • SecuriSuite (5)
    • Certificate (2)
      • 정보처리기사 (1)
      • 정보보안기사 (1)
    • Legacy (27)
      • JS+PHP+SQL (27)
    • 루트권한 없는 나의 하루 (4)
  • 홈
Docker 컨테이너 배포하기

Docker 컨테이너 배포하기

먼저, docker hub 로그인을 해줍니다.docker login 저는 이전 게시글을 작성하면서 사용했던  요 두 놈을 배포해 볼게요..docker tag webserver:v1 hoowave/webserver:v1docker tag hellojs:latest hoowave/hellojs 배포하기 위해서 각각 두 개의 이름을 도커허브아이디/이름 형식으로 변경해 줍니다. docker push hoowave/webserver:v1docker push hoowave/hellojs 변경한 뒤, 각각 push를 하게 되면..  컨테이너 이미지가 도커허브 계정에 업로드됩니다.  도커허브에 접속하여 계정에 로그인한 뒤, 직접 확인할 수 있습니다.

  • format_list_bulleted Docker
  • · 2025. 3. 7.
  • textsms
Docker로 node.js 컨테이너 사용하기

Docker로 node.js 컨테이너 사용하기

Docker를 이용해 node.js 컨테이너를 만들어서 사용해 볼게요.. 먼저 테스트할 js를 만듭니다..  hello.js >>const http = require('http');const os = require('os');console.log("Test server starting...");var handler = function(request, response){ console.log("Received request from " + request.connection.remoteAddress); response.writeHead(200); response.end("Container Hostname : " + os.hostname + "\n");};var www = http.createSer..

  • format_list_bulleted Docker
  • · 2025. 3. 7.
  • textsms
Docker로 Ubuntu 기반 apache 서버 열기

Docker로 Ubuntu 기반 apache 서버 열기

Docker를 이용해 apache 서버를 열어볼게요..FROM ubuntu:18.04LABEL maintainer="blog.naver.com/ma5ter"# install apacheRUN apt-get update \ && apt-get install -y apache2RUN echo "TEST WEB" > /var/www/html/index.htmlEXPOSE 80CMD ["/usr/sbin/apache2ctl", "-DFOREGROUND"] ubuntu 18.04 버전을 도커 이미지로 내려받고apt를 업데이트해준 뒤 apache 패키지를 내려받습니다..후에 apache index 페이지를 생성해 주고 80포트로 사용해 준 뒤 서비스를 실행시켜줍니다..  docker build -t w..

  • format_list_bulleted Docker
  • · 2025. 3. 7.
  • textsms
macOS에서 Ubuntu(가상)으로 Docker 사용하기

macOS에서 Ubuntu(가상)으로 Docker 사용하기

도커에서컨테이너 = 다른 프로그램과 분리된 환경에서 실행컨테이너 이미지 = 컨테이너 실행을 위해 미리 준비해야 됨허브 = 컨테이너 이미지가 저장된 창고 macOS의 VMware로 Ubuntu 환경에서 Docker를 사용해 볼게요.. 우선 우분투 설치 파일을 다운로드합니다..https://ubuntu.com/ Enterprise Open Source and Linux | UbuntuUbuntu is the modern, open source operating system on Linux for the enterprise server, desktop, cloud, and IoT.ubuntu.com 설치는 매뉴얼대로 해주시면 되는데..우분투 설치 후에 도커 홈페이지의 설치 매뉴얼을 참고하여 도커를 설치해 줍니..

  • format_list_bulleted Docker
  • · 2025. 3. 7.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
  • 장뽕뽕 사이트를 오픈합니다.
  • 개발 일기 사이트 이전 안내
전체 카테고리
  • 분류 전체보기 (153)
    • Java (61)
      • Springboot (28)
      • Architecture (0)
      • Algorithm (17)
      • Trouble-Shooting (3)
      • Basic (13)
    • Security (20)
      • Practice (4)
      • System (7)
      • Network (4)
      • Application (5)
    • Mobile (0)
      • Android (0)
      • Flutter (0)
    • JavaScript (16)
      • Node.js (16)
    • Linux (8)
    • Network (6)
    • Docker (4)
    • Project (5)
      • SecuriSuite (5)
    • Certificate (2)
      • 정보처리기사 (1)
      • 정보보안기사 (1)
    • Legacy (27)
      • JS+PHP+SQL (27)
    • 루트권한 없는 나의 하루 (4)
최근 글
인기 글
최근 댓글
태그
  • #php
  • #Spring
  • #springboot
  • #algorithm
  • #javascript
  • #java
  • #dothome
  • #phpMyAdmin
  • #SQL
  • #html
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바