docker run -it \ --name dockertime \ -e TZ=Asia/Seoul \ centos 도커는 기본적으로 UTC로 설정되어있어 국내에서는 위와 같이 구동해야함.
[root@darksharavim home]# docker -v Docker version 1.13.1, build 7d71120/1.13.1 [root@darksharavim home]# vi Dockerfile FROM centos MAINTAINER darksharavim RUN yum -y install httpd [root@darksharavim home]# docker build -t myweb:01 ./ Sending build context to Docker daemon 3.177 GB Step 1/3 : FROM centos Trying to pull repository docker.io/library/centos ... latest: Pulling from docker.io/librar..
오라클 도커 이미지 검색 # docker search oracle INDEX NAME DESCRIPTION STARS OFFICIAL AUTOMATED docker.io docker.io/oraclelinux Official Docker builds of Oracle Linux. 782 [OK] docker.io docker.io/jaspeen/oracle-11g Docker image for Oracle 11g database 179 [OK] docker.io docker.io/oracleinanutshell/oracle-xe-11g 173 docker.io docker.io/wnameless/oracle-xe-11g-r2 Oracle Express Edition 11g Release 2 on Ub....
docker 컨테이너에서 vi사용하기 위해서는 해당 컨테이너 접속후 아래와 같이 진행하면 됨. [root@darksharavim data]# docker exec -it mariadb bash 컨테이너 접속 후 apt업데이트 root@feacbe546b00:/# apt-get update Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:3 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [786 kB] Get:1 https://archive.mariadb.org/mariadb-10.6.3/repo/ubuntu focal InRelea..
설치환경 [root@darksharavim /]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) MSSQL 설치 [root@darksharavim /]# docker pull mcr.microsoft.com/mssql/server:2019-latest MSSQL 컨테이너 시작 [root@darksharavim /]# docker run \ -d \ -e 'ACCEPT_EULA=Y' \ -e 'SA_PASSWORD=' \ -p 1433:1433 \ --name mssql \ mcr.microsoft.com/mssql/server:2019-latest MSSQL 컨테이너 확인 [root@darksharavim ~]# docker ps -a CON..