본문 바로가기
반응형

etc8

docker centos7 nginx container 띄우기 docker centos7 nginx container 띄우기 //centos image pull PS D:\docker> docker pull centos/systemd Using default tag: latest latest: Pulling from centos/systemd Digest: sha256:09db0255d215ca33710cc42e1a91b9002637eeef71322ca641947e65b7d53b58 Status: Image is up to date for centos/systemd:latest docker.io/centos/systemd:latest //centos7 컨테이너 실행 PS D:\docker> docker run --privileged -d -p 80:80 --name.. 2020. 4. 30.
[Error]System has not been booted with systemd as init system (PID 1). Can't operate. 도커에서 systemctl 사용시 아래와 같은 에러를 볼수 있다. * 시스템이 초기화 시스템 (PID 1)로 systemd로 부팅되지 않았습니다. 작동 할 수 없습니다 [root@fb00f4e75552 bin]# systemctl start nginx System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down 가상화 시스템에서 나타나는 현상인데 도커파일을 생성하여 컨테이너를 실행시키거나 참고 : https://github.com/CentOS/CentOS-Dockerfiles/tree/master/systemd/centos7 CentOS/CentOS-Doc.. 2020. 4. 30.
[error]no matching manifest for windows/amd64 10.0.18363 in the manifest list entries. 이슈 PS D:\docker> docker run ubuntu Unable to find image 'ubuntu:latest' locally latest: Pulling from library/ubuntu C:\Program Files\Docker\Docker\resources\bin\docker.exe: no matching manifest for windows/amd64 10.0.18363 in the manifest list entries. See 'C:\Program Files\Docker\Docker\resources\bin\docker.exe run --help'. PS D:\docker> 원인 windows 컨테이너 모드에서 linux 컨테이너 모드로 사용중 해결 도커 트레이 아이콘 클릭 .. 2020. 4. 23.
git에서 특정파일 히스토리 삭제 *.properties에 삭제하려고하는 파일명 $ git filter-branch --force --index-filter "git rm --cached --ignore-unmatch *.properties" --prune-empty --tag-name-filter cat -- --all $ git push origin master --force 2019. 9. 30.
Remote branch명 변경하기 git 원격 브랜치명 변경하기 1. 로컬 브랜치명 변경$>git branch -m oldbranch newbranch $>git push origin :oldbranch $>git push origin newbranch 2019. 3. 8.
VirtualBox VT-x is not available. (VERR_VMX_NO_VMX) VirtualBox VT-x is not available. (VERR_VMX_NO_VMX) Hyper-V가 사용하도록 되어있는 경우(DOCKER 사용등을 이유로) Hyper-V기능을 꺼주어야한다.관리자로 실행한 CMD에서 c:\> dism.exe /Online /Disable-Feature:Microsoft-Hyper-V반대로 도커(docker)사용시 Hyper-V기능을 켜주어야한다관리자로 실행한 CMD에서 c:\> dism.exe /Online /Enable-Feature:Microsoft-Hyper-V 2019. 1. 23.
맥(mac)에서 AWS ssh 접속 방법 맥(mac)에서 AWS ssh 접속 방법- 붉은 글씨 수정 후 사용터미널(terminal)실행AWS에서 다운받은 key 권한 변경 다운받은 경로 이동 후 $chmod 400 keyname.pemssh 접속 $ssh -i /경로/keyname.pem ec2-uesr@생성한 EC2 공인아이피(Public IP)서버신뢰 문구나오면 yes #tip 경로가 길어 매번 입력하기 귀찮을 때터미널(terminal)실행수퍼권한 획득 $sussh_config 수정 $vi /etc/ssh/ssh_config 추가 IdentityFile /경로/keyname.pemssh 접속 $ssh ec2-uesr@생성한 EC2 공인아이피(Public IP) 2017. 1. 1.
GitHub 기초 GitHub 설명 번역https://nolboo.github.io/blog/2013/10/06/github-for-beginner/ 2015. 12. 2.
반응형