Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MacBook-Air-Nikita:~ user$ docker run --expose=2004 -p 2004:2004 -v /Users/user/Desktop/:/Users/user/Desktop/ -it avsw/libreoffice_container:v1 /bin/bash
- [root@648f6d37ae85 /]# yum install -y net-tools
- Loaded plugins: fastestmirror, ovl
- base | 3.6 kB 00:00:00
- extras | 3.4 kB 00:00:00
- updates | 3.4 kB 00:00:00
- (1/4): base/7/x86_64/group_gz | 156 kB 00:00:00
- (2/4): extras/7/x86_64/primary_db | 145 kB 00:00:00
- (3/4): updates/7/x86_64/primary_db | 5.2 MB 00:00:01
- (4/4): base/7/x86_64/primary_db | 5.7 MB 00:00:08
- Determining fastest mirrors
- * base: mirror.logol.ru
- * extras: centos-mirror.rbc.ru
- * updates: dedic.sh
- Resolving Dependencies
- --> Running transaction check
- ---> Package net-tools.x86_64 0:2.0-0.22.20131004git.el7 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ==============================================================================================================================================================
- Package Arch Version Repository Size
- ==============================================================================================================================================================
- Installing:
- net-tools x86_64 2.0-0.22.20131004git.el7 base 305 k
- Transaction Summary
- ==============================================================================================================================================================
- Install 1 Package
- Total download size: 305 k
- Installed size: 917 k
- Downloading packages:
- net-tools-2.0-0.22.20131004git.el7.x86_64.rpm | 305 kB 00:00:00
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : net-tools-2.0-0.22.20131004git.el7.x86_64 1/1
- Verifying : net-tools-2.0-0.22.20131004git.el7.x86_64 1/1
- Installed:
- net-tools.x86_64 0:2.0-0.22.20131004git.el7
- Complete!
- [root@648f6d37ae85 /]# ifconfig
- eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 172.17.0.2 netmask 255.255.0.0 broadcast 172.17.255.255
- ether 02:42:ac:11:00:02 txqueuelen 0 (Ethernet)
- RX packets 8759 bytes 12610097 (12.0 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 4335 bytes 237444 (231.8 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- loop txqueuelen 1 (Local Loopback)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- [root@648f6d37ae85 /]#
- [root@648f6d37ae85 /]# unoconv -vvv -p 2004 --listener
- Verbosity set to level 3
- Using office base path: /usr/lib64/libreoffice
- Using office binary path: /usr/lib64/libreoffice/program
- Start listener on 127.0.0.1:2004
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement