Difference between revisions of "ESXi, CentOS, Ubuntu, Docker"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
yum install epel-release | yum install epel-release | ||
dnf --enablerepo=epel -y install sshpass | dnf --enablerepo=epel -y install sshpass | ||
+ | |||
<syntaxhighlight lang="docker" line="1"> | <syntaxhighlight lang="docker" line="1"> | ||
docker ps | docker ps | ||
Line 15: | Line 16: | ||
docker commit --change "ENV DEBUG=true" <container_id> rhomicom/testimage:v1.0 | docker commit --change "ENV DEBUG=true" <container_id> rhomicom/testimage:v1.0 | ||
docker inspect -f "{{ .Config.Env }}" <container_id> | docker inspect -f "{{ .Config.Env }}" <container_id> | ||
− | docker push | + | docker push rhomicom/testimage:v1.0 |
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 13:01, 20 May 2021
Useful Commands
chkconfig --add httpd chkconfig httpd on
chkconfig httpd off chkconfig --del httpd
yum -y install which openssh openssh-server openssh-clients openssl-libs nano rsync unzip net-tools NetworkManager-tui sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so.6 wget tar
yum install epel-release dnf --enablerepo=epel -y install sshpass
docker ps
docker inspect -f "{{ .Config.Env }}" <container_id>
docker commit --change "ENV DEBUG=true" <container_id> rhomicom/testimage:v1.0
docker inspect -f "{{ .Config.Env }}" <container_id>
docker push rhomicom/testimage:v1.0