Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
google-cloud-sdk /
lib /
surface /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
access_approval
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
access_context_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
active_directory
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
agent_identity
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
agent_registry
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
ai
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
ai_platform
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
alloydb
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
alpha
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
anthos
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
api_gateway
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
api_registry
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
apigee
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
apihub
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
app
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
app_lifecycle_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
app_optimize
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
apphub
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
artifacts
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
asset
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
assured
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
audit_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
auth
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
authz_toolkit
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
backup_dr
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
batch
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
beta
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
beyondcorp
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
biglake
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
bigtable
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
billing
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
blockchain_node_engine
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
blockchain_validator
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
bms
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
bq
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
builds
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
cbrs_spectrum_access
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
certificate_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
cloud_shell
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
cloudlocationfinder
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
cluster_director
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
code
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
colab
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
commerce_procurement
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
compliance_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
components
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
composer
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
compute
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
config
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
container
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
data_catalog
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
data_fusion
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
database_migration
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dataflow
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
datapipelines
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dataplex
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dataproc
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dataproc_gdc
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
datastore
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
datastream
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
deploy
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
deployment_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
design_center
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
developer_connect
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dialogflow
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dlp
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
dns
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
domains
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
edge_cache
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
edge_cloud
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
emulators
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
endpoints
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
error_reporting
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
essential_contacts
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
eventarc
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
fault_testing
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
filestore
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
firebase
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
firebase_data_connect
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
firestore
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
functions
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
gemini
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
genomics
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
healthcare
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
iam
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
iap
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
identity
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
ids
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
immersive_stream
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
infra_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
kms
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
logging
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
looker
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
lustre
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
managed_flink
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
managed_kafka
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
media
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
memcache
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
memorystore
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
meta
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
metastore
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
microservices
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
migration
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
ml
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
mldiagnostics
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
model_armor
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
monitoring
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
mps
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
netapp
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
network_connectivity
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
network_management
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
network_security
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
network_services
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
notebooks
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
number_registry
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
observability
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
oracle_database
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
orchestration_pipelines
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
org_policies
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
organizations
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
orglifecycle
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
pam
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
parallelstore
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
parametermanager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
policy_intelligence
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
policy_troubleshoot
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
preview
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
privateca
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
projects
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
publicca
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
pubsub
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
quotas
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
recaptcha
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
recommender
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
redis
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
remote_build_execution
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
resource_config
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
resource_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
run
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
runtime_config
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
scc
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
scheduler
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
seclm
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
secrets
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
service_directory
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
service_extensions
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
service_health
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
services
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
source
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
source_manager
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
spanner
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
spectrum_access
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
sql
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
stacks
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
storage
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
tasks
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
telco_automation
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
terraform
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
topic
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
trace
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
transcoder
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
transfer
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
vector_search
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
vmware
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
web_security_scanner
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
workbench
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
workflows
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
workload_identity
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
workspace_add_ons
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
workstations
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
zone_management
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
__init__.py
7.5
KB
-rw-r--r--
1980-01-01 08:00
cheat_sheet.py
5.87
KB
-rw-r--r--
1980-01-01 08:00
docker.py
6.17
KB
-rw-r--r--
1980-01-01 08:00
feedback.py
5.27
KB
-rw-r--r--
1980-01-01 08:00
help.py
4.96
KB
-rw-r--r--
1980-01-01 08:00
info.py
3.91
KB
-rw-r--r--
1980-01-01 08:00
init.py
23.35
KB
-rw-r--r--
1980-01-01 08:00
interactive.py
10.35
KB
-rw-r--r--
1980-01-01 08:00
survey.py
3.04
KB
-rw-r--r--
1980-01-01 08:00
unlock.py
2.1
KB
-rw-r--r--
1980-01-01 08:00
version.py
2.07
KB
-rw-r--r--
1980-01-01 08:00
Save
Rename
# -*- coding: utf-8 -*- # # Copyright 2014 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Enable Docker CLI access to Google Container Registry. Sets Docker up to authenticate with Container Registry, and passes all flags after `--` to the Docker CLI. """ import argparse from googlecloudsdk.calliope import arg_parsers from googlecloudsdk.calliope import base from googlecloudsdk.calliope import exceptions from googlecloudsdk.core import log from googlecloudsdk.core.docker import client_lib as docker_client_utils from googlecloudsdk.core.docker import constants from googlecloudsdk.core.docker import docker # By default, we'll set up authentication for these registries. # If the user changes the --server argument to something not in this list, # we'll just give them a warning that they're using an unexpected server. _DEFAULT_REGISTRIES = constants.DEFAULT_REGISTRIES_TO_AUTHENTICATE _DEPRECATION_WARNING = """\ `gcloud docker` will not be supported for Docker client versions above 18.03. As an alternative, use `gcloud auth configure-docker` to configure `docker` to use `gcloud` as a credential helper, then use `docker` as you would for non-GCR registries, e.g. `docker pull gcr.io/project-id/my-image`. Add `--verbosity=error` to silence this warning: `gcloud docker --verbosity=error -- pull gcr.io/project-id/my-image`. See: https://cloud.google.com/container-registry/docs/support/deprecation-notices#gcloud-docker """ @base.ReleaseTracks(base.ReleaseTrack.GA) @base.Deprecate(is_removed=False, warning=_DEPRECATION_WARNING) class Docker(base.Command): """Enable Docker CLI access to Google Container Registry. {command} wraps Docker commands so that `gcloud` can inject the appropriate fresh authentication token into requests that interact with the Docker registry. All Docker-specific flags are passed through to the underlying `docker` command. A full reference of Docker's command line options available after `--` can be found here: [](https://docs.docker.com/engine/reference/commandline/cli/). You may also run `{command} -- --help` to view the Docker CLI's help directly. Detailed documentation on Container Registry can be found here: [](https://cloud.google.com/container-registry/docs/) ## EXAMPLES To pull the image '{registry}/google-containers/pause:1.0' from the docker registry, run: ``` {command} -- pull {registry}/google-containers/pause:1.0 ``` Push the image '{registry}/example-org/example-image:latest' to our private docker registry. ``` {command} -- push {registry}/example-org/example-image:latest ``` Configure authentication, then simply use docker: ``` {command} --authorize-only docker push {registry}/example-org/example-image:latest ``` """ detailed_help = { 'registry': constants.DEFAULT_REGISTRY, } @staticmethod def Args(parser): parser.add_argument( '--server', '-s', type=arg_parsers.ArgList(min_length=1), metavar='SERVER', help='Address of the Google Cloud Registry.', required=False, default=_DEFAULT_REGISTRIES) parser.add_argument( '--authorize-only', '-a', help='Configure Docker authorization only; do not launch the ' 'Docker command-line.', action='store_true') parser.add_argument( '--docker-host', help='URL to connect to Docker Daemon. Format: tcp://host:port or ' 'unix:///path/to/socket.') parser.add_argument( 'docker_args', nargs=argparse.REMAINDER, default=[], help='Arguments to pass to Docker.') def Run(self, args): """Executes the given docker command, after refreshing our credentials. Args: args: An argparse.Namespace that contains the values for the arguments specified in the .Args() method. Raises: exceptions.ExitCodeNoError: The docker command execution failed. """ if args.account: # Since the docker binary invokes `gcloud auth docker-helper` through # `docker-credential-gcloud`, it cannot forward the command line # arguments. Subsequently, we are unable to set the account (or any # flag for that matter) used by `docker-credential-gcloud` with # the global `--account` flag. log.warning('Docker uses the account from the gcloud config.' 'To set the account in the gcloud config, run ' '`gcloud config set account <account_name>`.') with base.WithLegacyQuota(): force_refresh = True for server in args.server: if server not in _DEFAULT_REGISTRIES: log.warning( 'Authenticating to a non-default server: {server}.'.format( server=server)) docker.UpdateDockerCredentials(server, refresh=force_refresh) # Only force a refresh for the first server we authorize force_refresh = False if args.authorize_only: # NOTE: We don't know at this point how long the access token we have # placed in the docker configuration will last. More information needs # to be exposed from all credential kinds in order for us to have an # accurate awareness of lifetime here. log.err.Print('Short-lived access for {server} configured.'.format( server=args.server)) return docker_args = args.docker_args or [] docker_args = ( docker_args if not args.docker_host else ['-H', args.docker_host] + docker_args) result = docker_client_utils.Execute(docker_args) # Explicitly avoid displaying an error message that might # distract from the docker error message already displayed. if result: raise exceptions.ExitCodeNoError(exit_code=result) return