일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 네트워크
- Mac
- JavaScript
- lsof
- resource
- import
- 줄바꿈 문자
- grep
- Eclipse
- port
- Quartz
- bash
- xargs
- VirtualBox
- IntelliJ
- context
- ssh
- plugin
- Windows
- profile
- maVen
- Source
- Windows 10
- GIT
- tomcat
- web.xml
- 단축키
- vscode
- netsh
- find
- Today
- Total
목록Dev/docker (10)
develog
https://docs.docker.com/engine/reference/commandline/cli/ Use the Docker command line docs.docker.com
docker run --privileged docker 로 centos 8 로드시 systemctl 사용할 수 있게 실행 docker run -itd --name va-centos --privileged centos:8 /usr/sbin/init
도커로 centos:8 이미지 실행 후 # Dockerfile FROM centos:8 systemctl start ssh 실행시 오류 발생 [root@795fdf8be494 /]# systemctl start ssh System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down 해결 참고 https://blog.jojonari.dev/entry/ErrorSystem-has-not-been-booted-with-systemd-as-init-system-PID-1-Cant-operate [Error]System has not been booted with sy..
ssh root@127.0.0.1 -p 2222 https://dev.to/s1ntaxe770r/how-to-setup-ssh-within-a-docker-container-i5i How to setup an ssh server within a docker container In this post I will walk you through my process of setting up ssh access to your docker container.... dev.to
https://docs.docker.com/engine/reference/builder/ Dockerfile reference docs.docker.com
$ docker pull ubuntu:20.04 $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu 20.04 54c9d81cbb44 3 days ago 72.8MB $ docker run -itd --name ubuntu ubuntu:20.04 bash 9f225a6324a5030f34085a1ed9ac1423bdc1df1021b05eb5db306389942e3ac3 $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9f225a6324a5 ubuntu:20.04 "bash" 19 seconds ago Up 16 seconds ubuntu $ docker exec -it ubuntu..