Difference between revisions of "ESXi, CentOS, Ubuntu, Docker"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
docker push rhomicom/testimage:v1.0 | docker push rhomicom/testimage:v1.0 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | <code>sudo yum remove docker \ | ||
+ | docker-client \ | ||
+ | docker-client-latest \ | ||
+ | docker-common \ | ||
+ | docker-latest \ | ||
+ | docker-latest-logrotate \ | ||
+ | docker-logrotate \ | ||
+ | docker-engine</code> |
Revision as of 12:54, 24 July 2021
Useful Commands
adduser rhouser passwd rhouser usermod -aG wheel rhouser su - rhouser
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 perl-core libaio nmap-ncat libstdc++.so.6 wget tar
yum install epel-release dnf --enablerepo=epel -y install sshpass
Docker Commands
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
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine