如何使用Shell脚本执行多个Docker命令?

时间:2019-06-28 08:29:23

标签: shell docker

需要使用Shell脚本在单个表中同时运行docker stats和ps命令和两个命令的输出

我在2个不同的表中得到输出,需要在一个表中

import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';

@Component({
    selector: 'app-bacheca',
    templateUrl: './bacheca.component.html',
    styleUrls: ['./bacheca.component.sass']
})
export class BachecaComponent implements OnInit {

constructor(private route: ActivatedRoute) {
    console.log('BachecaComponent Const');
    this.route.paramMap.subscribe(params => {
    });
}

ngOnInit() {
    console.log('BachecaComponent');
}

}

0 个答案:

没有答案